kigadgets.size¶
Module Contents¶
Classes¶
- class kigadgets.size.Size(width, height)¶
Bases:
kigadgets.units.BaseUnitTuple
- property native_obj¶
- property width¶
Return the width of the size.
- property height¶
Return the height of the size.
- static build_from(t)¶
- static native_from(t)¶
- scale(x, y)¶
Scale this size by x horizontally, and y vertically.
- scaled(x, y)¶
Return a new scaled point, scaling by x and y.