Class GenericSize
- class ooodev.utils.data_type.generic_size.GenericSize(width, height)[source]
Represents a generic size.
See also
New in version 0.14.0.
- __init__(width, height)[source]
Constructor
- Parameters:
width (int) – Width value.
height (int) – Height Value.
- Return type:
None
- property height: T
Gets/Sets height.
- Return type:
TypeVar
(T
, bound=Union
[int
,float
])
- property width: T
Gets/Sets width.
- Return type:
TypeVar
(T
, bound=Union
[int
,float
])