Properties

ControlPolygonStyle

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

Display

public DisplayPipeline Display { get; }
inherited fromDrawEventArgs

DrawDynamicStuff

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

DrawStaticStuff

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

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
Draws the lines in a control polygons.

This is an helper function.

public void DrawControlPolygonLine(
line,
Line between two grips.
startStatus,
Grip status at start of line.
endStatus
Grip status at end of line.
)

DrawControlPolygonLine

#Since v5.0
Draws the lines in a control polygons.

This is an helper function.

public void DrawControlPolygonLine(
line,
Line between two grips.
startStatus,
Index of Grip status at start of line.
endStatus
Index if Grip status at end of line.
)

DrawControlPolygonLine

#Since v5.0
Draws the lines in a control polygons.

This is an helper function.

public void DrawControlPolygonLine(
start,
The point start.
end,
The point end.
startStatus,
Index of Grip status at start of line defined by start and end.
endStatus
Index if Grip status at end of line defined by start and end.
)

GripStatus

#Since v5.0
public GripStatus GripStatus(
index
)

RestoreViewportSettings

#Since v5.0
public void RestoreViewportSettings()