Click or drag to resize

GH_NamedView Constructor (GH_Viewport, Rectangle, PointF)

Create a new view useful for point inclusion transitions.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public GH_NamedView(
	GH_Viewport view,
	Rectangle region,
	PointF target
)

Parameters

view
Type: Grasshopper.GUI.CanvasGH_Viewport
Viewport this transition is supposed to work in.
region
Type: System.DrawingRectangle
Region into which the target is supposed to be visible in control coordinates. For example, the contents of the viewport.
target
Type: System.DrawingPointF
Point to ensure.
See Also