-
Notifications
You must be signed in to change notification settings - Fork 3
2017 API dlibrary.document.Units
- object The most base type
resolve_length_units(dimension: 'float | str | tuple') -> 'float | tuple'
Will return the same, but length unit strings will be transformed to floats. For a float or str dimension, this will return a float. For a tuple, which would be a point, this will return a tuple of floats.
to_area_string(araa_in_area_units: float, with_unit_mark: bool=False) -> str
to_area_units(area_in_square_inches: float) -> float
to_cubic_inches(volume_in_volume_units: float) -> float
to_inches(length_in_length_units_or_str: 'float || str') -> float
to_length_string(length_in_length_units: float, with_unit_mark: bool=False) -> str
to_length_units(length_in_inches_or_str: 'float || str') -> float
to_square_inches(area_in_area_units: float) -> float
to_volume_string(volume_in_volume_units: float, with_unit_mark: bool=False) -> str
to_volume_units(volume_in_cubic_inches: float) -> float
-
(get) length_precision
->int