Documentation

angle

An angle describing a rotation.

Typst supports the following angular units:

Example

#rotate(10deg)[Hello there!]
Preview

Definitions
Question mark

rad

Converts this angle to radians.

self.rad(
) -> float

deg

Converts this angle to degrees.

self.deg(
) -> float