Click or drag to resize

GH_AttributesTSolvePathBoxPick Method

Utility function for testing window selections with freeform Graphics paths.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static bool SolvePathBoxPick(
	GraphicsPath path,
	RectangleF box,
	float fuzz,
	GH_PickBox mode
)

Parameters

path
Type: System.Drawing.Drawing2DGraphicsPath
Path to test.
box
Type: System.DrawingRectangleF
Window selection box.
fuzz
Type: SystemSingle
Fuzzy pixels around object.
mode
Type: Grasshopper.KernelGH_PickBox
Selection mode to apply.

Return Value

Type: Boolean
True if box contains the path.
See Also