Enum Control.Anchor
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Control.Anchor : long
Fields
Begin = 0Snaps one of the 4 anchor's sides to the origin of the node's
Rect, in the top left. Use it with one of theanchor_*member variables, like AnchorLeft. To change all 4 anchors at once, use SetAnchorsPreset(LayoutPreset, bool).End = 1Snaps one of the 4 anchor's sides to the end of the node's
Rect, in the bottom right. Use it with one of theanchor_*member variables, like AnchorLeft. To change all 4 anchors at once, use SetAnchorsPreset(LayoutPreset, bool).