Ratio
linnet_py Class
Ratio(percent: float)A Typst ratio expressed in percent.
Constructor
#Parameters
| Name | Type | Default | Description |
|---|---|---|---|
percent | float | — | — |
Member details
percent
Property · read-onlyfrom_fraction
Static method#
from_fraction(value: float) -> RatioNo description is available for this member.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
value | float | — | — |
__repr__
MethodView generated signature source: docs/api/python/linnet-py.pyi:1069