Class SizeMM
- class ooodev.utils.data_type.size_mm.SizeMM(width, height)[source]
Size Width and Height in
mmunits.- __init__(width, height)[source]
Constructor
- Parameters:
width (float, UnitT) – Specifies width in
mmunits or Class UnitT.height (float, UnitT) – Specifies height in
mmunits or Class UnitT.
- Return type:
None
- static from_mm100(width, height)[source]
Gets instance from width and height where width and height are in
1/100th mmunits.- Parameters:
width (int) – Width in
1/100th mmunits.height (int) – Height in
1/100th mmunits.
- Returns:
Size in mm units
- Return type:
- get_size_mm100()[source]
Gets instance converted to Size in
1/100th mmunits.- Returns:
Size in
mmunits.- Return type:
- property height: float
Gets/Sets height
- Return type:
float
- property width: float
Gets/Sets width
- Return type:
float