awsc.termui.alignment.AbstractAnchor
- class awsc.termui.alignment.AbstractAnchor
Anchor base class defining the interface anchors must implement.
Methods
anchor
(parent)Returns the position of the anchor point of the block.
topleft
(dim, parent)Returns the position of the top left corner of the anchored block.
- __init__(*args, **kwargs)
Methods
__init__
(*args, **kwargs)anchor
(parent)Returns the position of the anchor point of the block.
topleft
(dim, parent)Returns the position of the top left corner of the anchored block.