Click or drag to resize

StyleBoxDraw Method

Draws this stylebox using a CanvasItem with given RID.

You can get a RID value using GetInstanceId on a CanvasItem-derived node.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void Draw(
	RID canvasItem,
	Rect2 rect
)

Parameters

canvasItem
Type: GodotRID

[Missing <param name="canvasItem"/> documentation for "M:Godot.StyleBox.Draw(Godot.RID,Godot.Rect2)"]

rect
Type: GodotRect2

[Missing <param name="rect"/> documentation for "M:Godot.StyleBox.Draw(Godot.RID,Godot.Rect2)"]

See Also