GH_NamedView
ReferencesNamed views are used both to store named views but also to allow smooth programmatic canvas navigation.
Constructors
GH_NamedView
#Create a new view useful for point match transitions.
public GH_NamedView()
view,
Viewport this transition is supposed to work in.
Point
point,
Point in control coordinates that is supposed to be matched.
PointF
target
Point in canvas coordinates that will be matched.
GH_NamedView
#Create a new view useful for point inclusion transitions.
public GH_NamedView()
view,
Viewport this transition is supposed to work in.
Rectangle
region,
Region into which the target is supposed to be visible in control coordinates. For example, the contents of the viewport.
PointF
target
Point to ensure.
GH_NamedView
#Create a new view useful for box-fit transitions.
public GH_NamedView()
Rectangle
view_box,
The dimensions of the area into which we want to display something in control coordinates. For example, the Visible area in a Viewport.
target_box
The dimensions of the area we want to display in viewport coordinates. For example, the bounding box of some objects.
GH_NamedView
#Create a new named view.
public GH_NamedView()
view_name,
Name of view.
PointF
view_point,
Anchor point of named view.
view_zoom = 1,
Zoom factor of named view.
The type of named view.