Click or drag to resize

StyleBoxTextureSetMarginSize Method

Note: This API is now obsolete.

Sets the margin to size pixels for the given margin. See Margin for possible values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetMarginSize is deprecated. Use the MarginBottom property instead.")]
public void SetMarginSize(
	Margin margin,
	float size
)

Parameters

margin
Type: GodotMargin

[Missing <param name="margin"/> documentation for "M:Godot.StyleBoxTexture.SetMarginSize(Godot.Margin,System.Single)"]

size
Type: SystemSingle

[Missing <param name="size"/> documentation for "M:Godot.StyleBoxTexture.SetMarginSize(Godot.Margin,System.Single)"]

See Also