Control.Anchor

Values

ValueMeaning
anchorBegin0

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.

anchorEnd1

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.

Meta