Properties

ControlPolygonStyle

#Since v5.0
public int ControlPolygonStyle { get; set; }
What kind of line is used to display things like control polygons. 0 = no control polygon, 1 = solid control polygon, 2 = dotted control polygon.

Display

public DisplayPipeline Display { get; }
inherited fromDrawEventArgs

DrawDynamicStuff

#Since v5.0
public bool DrawDynamicStuff { get; }
If true, then draw stuff that does not move when grips are dragged, like the control polygon of the "original" curve.

DrawStaticStuff

#Since v5.0
public bool DrawStaticStuff { get; }
If true, then draw stuff that moves when grips are dragged, like the curve being bent by a dragged control point.

GripColor

#Since v5.0
public Color GripColor { get; set; }

GripStatusCount

#Since v5.0
public int GripStatusCount { get; }

LockedGripColor

#Since v5.0
public Color LockedGripColor { get; set; }

RhinoDoc

public RhinoDoc RhinoDoc { get; }
inherited fromDrawEventArgs

SelectedGripColor

#Since v5.0
public Color SelectedGripColor { get; set; }

Viewport

public RhinoViewport Viewport { get; }
inherited fromDrawEventArgs

Methods

DrawControlPolygonLine

#Since v5.0
public void DrawControlPolygonLine(Line line, GripStatus startStatus, GripStatus endStatus)
Draws the lines in a control polygons.

This is an helper function.

line (Line)Line between two grips.
startStatus (GripStatus)Grip status at start of line.
endStatus (GripStatus)Grip status at end of line.

DrawControlPolygonLine

#Since v5.0
public void DrawControlPolygonLine(Line line, int startStatus, int endStatus)
Draws the lines in a control polygons.

This is an helper function.

line (Line)Line between two grips.
startStatus (int)Index of Grip status at start of line.
endStatus (int)Index if Grip status at end of line.

DrawControlPolygonLine

#Since v5.0
public void DrawControlPolygonLine(Point3d start, Point3d end, int startStatus, int endStatus)
Draws the lines in a control polygons.

This is an helper function.

start (Point3d)The point start.
end (Point3d)The point end.
startStatus (int)Index of Grip status at start of line defined by start and end.
endStatus (int)Index if Grip status at end of line defined by start and end.

GripStatus

#Since v5.0
public GripStatus GripStatus(int index)
index (int)

RestoreViewportSettings

#Since v5.0
public void RestoreViewportSettings()