Class GenericUnitPoint
- class ooodev.utils.data_type.generic_unit_point.GenericUnitPoint(x, y)[source]
Point x and y.
New in version 0.17.3.
- convert_to(unit_length)[source]
Converts current values to specified unit length.
- Parameters:
unit_length (UnitLength) – Unit length to convert to.
- Returns:
Converted Units.
- Return type:
GenericUnitSize[UnitT, Union[int, float]]
- get_point()[source]
Gets instance value as Size
- Return type:
GenericPoint
[TypeVar
(TNum
, bound=Union
[int
,float
])]