ControlSetAnchorAndMargin Method |
Works the same as SetAnchor(Margin, Single, Boolean, Boolean), but instead of keep_margin argument and automatic update of margin, it allows to set the margin offset yourself (see SetMargin(Margin, Single)).
Namespace: Godot
public void SetAnchorAndMargin( Margin margin, float anchor, float offset, bool pushOppositeAnchor = false )
[Missing <param name="margin"/> documentation for "M:Godot.Control.SetAnchorAndMargin(Godot.Margin,System.Single,System.Single,System.Boolean)"]
[Missing <param name="anchor"/> documentation for "M:Godot.Control.SetAnchorAndMargin(Godot.Margin,System.Single,System.Single,System.Boolean)"]
[Missing <param name="offset"/> documentation for "M:Godot.Control.SetAnchorAndMargin(Godot.Margin,System.Single,System.Single,System.Boolean)"]
[Missing <param name="pushOppositeAnchor"/> documentation for "M:Godot.Control.SetAnchorAndMargin(Godot.Margin,System.Single,System.Single,System.Boolean)"]