kigadgets.size¶
Classes¶
Module Contents¶
- class kigadgets.size.Size(width: float, height: float)¶
Bases:
digraph inheritancec2ef08b53b { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BaseUnitTuple" [URL="../units/index.html#kigadgets.units.BaseUnitTuple",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class to provide mm, inch, mil properties."]; "Size" [URL="#kigadgets.size.Size",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "BaseUnitTuple" -> "Size" [arrowsize=0.5,style="setlinewidth(0.5)"]; }kigadgets.units.BaseUnitTuple- property native_obj: Any¶
- static native_from(t: kigadgets.units.CoordinateLike) Any¶
- scale(x: float, y: float) None¶
Scale this size by x horizontally, and y vertically.
- property width: float¶
Return the width of the size.
- property height: float¶
Return the height of the size.