Click or drag to resize

NinePatchRectGetPatchMargin Method

Note: This API is now obsolete.

Returns the size of the margin identified by the given Margin constant.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("GetPatchMargin is deprecated. Use the PatchMarginBottom property instead.")]
public int GetPatchMargin(
	Margin margin
)

Parameters

margin
Type: GodotMargin

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

Return Value

Type: Int32

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

See Also