Click or drag to resize

StyleBoxGetMargin Method

Returns the content margin offset for the specified Margin.

Positive values reduce size inwards, unlike Control's margin values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float GetMargin(
	Margin margin
)

Parameters

margin
Type: GodotMargin

[Missing <param name="margin"/> documentation for "M:Godot.StyleBox.GetMargin(Godot.Margin)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.StyleBox.GetMargin(Godot.Margin)"]

See Also