Box¶
from acron.layout import Box
- class Box(corner: str, x: float, y: float, w: float, h: float)¶
Bases:
objectOne panel: a size, and where its top-left corner sits.
corneris aacron.hud.PixelFrameanchor (tl,tr,bl,br,tc).xandyare measured from it in authored pixels, y down — so a bottom-anchored panel has a NEGATIVE y, which is the honest way to say “up from the bottom edge”.Inheritance diagram
digraph inheritance19f5e9ca04 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Box" [URL="acron.layout.Box.html#acron.layout.Box",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="One panel: a size, and where its top-left corner sits."]; }- corner¶
- h¶
- w¶
- x¶
- y¶