Click or drag to resize

RhinoGetGet2dRectangle Method

Gets a rectangle in view window coordinates.

Namespace:  Rhino.Input
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Result Get2dRectangle(
	bool solidPen,
	out Rectangle rectangle,
	out RhinoView rectView
)

Parameters

solidPen
Type: SystemBoolean
If true, a solid pen is used for drawing while the user selects a rectangle. If false, a dotted pen is used for drawing while the user selects a rectangle.
rectangle
Type: System.DrawingRectangle
user selected rectangle in window coordinates.
rectView
Type: Rhino.DisplayRhinoView
view that the user selected the window in.

Return Value

Type: Result
Success or Cancel.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also