Enum Control.Anchor

enum Anchor : int { ... }

Enum members

NameDescription
anchorBegin Snaps one of the 4 anchor's sides to the origin of the node's Rect, in the top left. Use it with one of the anchor_* member variables, like anchorLeft. To change all 4 anchors at once, use setAnchorsPreset.
anchorEnd Snaps one of the 4 anchor's sides to the end of the node's Rect, in the bottom right. Use it with one of the anchor_* member variables, like anchorLeft. To change all 4 anchors at once, use setAnchorsPreset.