Click or drag to resize

StyleBoxGetOffset Method

Returns the "offset" of a stylebox. This helper function returns a value equivalent to Vector2(style.get_margin(MARGIN_LEFT), style.get_margin(MARGIN_TOP)).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 GetOffset()

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.StyleBox.GetOffset"]

See Also