Angle

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

Angle

class Angle

A Typst angle in degrees or radians.

Methods

Name Description
__new__
__repr__
degrees
radians

__new__

Angle.__new__(value: builtins.float, unit: typing.Literal['deg', 'rad']) -> Angle

__repr__

Angle.__repr__() -> builtins.str

degrees

Angle.degrees(value: builtins.float) -> Angle

radians

Angle.radians(value: builtins.float) -> Angle