moby · Dom
class Position
since 0.1.0-alpha.1linux
Constructors
new
new(IComponent owner)Fields
anchorDx_
int anchorDx_anchorDy_
int anchorDy_anchorEdge_
AnchorEdge anchorEdge_anchorTarget_
weak IComponent | None anchorTarget_desiredX_
int desiredX_desiredY_
int desiredY_h_
int h_hasAnchor_
bool hasAnchor_lastX_
int lastX_lastY_
int lastY_method_
PositionMethod method_owner_
weak IComponent | None owner_w_
int w_z_
int z_Accessors
h
get h()set h(int v)method
get method()set method(PositionMethod m)w
get w()set w(int v)x
get x()set x(int v)y
get y()set y(int v)z
get z()set z(int v)Methods
__resolveAbsolute
anchorTo
anchorTo(IComponent target, AnchorEdge edge, int dx = 0, int dy = 0) -> voidanchorX
anchorX(Rect t, int ow) -> intanchorY
anchorY(Rect t, int oh) -> intapplyFixedH
applyFixedH() -> voidapplyFixedW
applyFixedW() -> voidclearAnchor
clearAnchor() -> voidisAbsolute
isAbsolute() -> boolliveX
liveX() -> intliveY
liveY() -> intpingLayout
pingLayout() -> void