Click or drag to resize

ControlAnchor Enumeration

[Missing <summary> documentation for "T:Godot.Control.Anchor"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum Anchor
Members
  Member nameValueDescription
Begin0

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(ControlLayoutPreset, Boolean).

End1

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(ControlLayoutPreset, Boolean).

See Also