Linnet · latest
On this page

Ratio

symbolica.community.graph Class

Ratio(percent: float)

A Typst ratio expressed in percent.

Constructor

#

Parameters

NameTypeDefaultDescription
percentfloat——

Member details

percent

Property · read-only#
percent: float

No description is available for this member.

from_fraction

Static method#
from_fraction(value: float) -> Ratio

No description is available for this member.

Parameters

NameTypeDefaultDescription
valuefloat——

__repr__

Method#
__repr__() -> str

No description is available for this member.