GH_AttributesTSolvePathBoxPick Method |
Utility function for testing window selections with freeform Graphics paths.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic static bool SolvePathBoxPick(
GraphicsPath path,
RectangleF box,
float fuzz,
GH_PickBox mode
)
Public Shared Function SolvePathBoxPick (
path As GraphicsPath,
box As RectangleF,
fuzz As Single,
mode As GH_PickBox
) As Boolean
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:
BooleanTrue if box contains the path.
See Also