RelativeLength

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

RelativeLength

class RelativeLength

A sum of a Typst ratio and length.

Methods

Name Description
__new__
__repr__

__new__

RelativeLength.__new__(
    ratio: typing.Optional[Ratio] = None,
    length: typing.Optional[Length] = None,
) -> RelativeLength

__repr__

RelativeLength.__repr__() -> builtins.str