Click or drag to resize

NinePatchRectSetPatchMargin Method

Note: This API is now obsolete.

Sets the size of the margin identified by the given Margin constant to value in pixels.

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

Parameters

margin
Type: GodotMargin

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

value
Type: SystemInt32

[Missing <param name="value"/> documentation for "M:Godot.NinePatchRect.SetPatchMargin(Godot.Margin,System.Int32)"]

See Also