Click or drag to resize

StyleBoxTestMask Method

Test a position in a rectangle, return whether it passes the mask test.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool TestMask(
	Vector2 point,
	Rect2 rect
)

Parameters

point
Type: GodotVector2

[Missing <param name="point"/> documentation for "M:Godot.StyleBox.TestMask(Godot.Vector2,Godot.Rect2)"]

rect
Type: GodotRect2

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

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.StyleBox.TestMask(Godot.Vector2,Godot.Rect2)"]

See Also