RhinoCommon API
DisplayPipelineDrawLine Method (Point3d, Point3d, Color, Int32) |
Draws a single line object.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public void DrawLine( Point3d from, Point3d to, Color color, int thickness )
Public Sub DrawLine ( from As Point3d, to As Point3d, color As Color, thickness As Integer )
Parameters
- from
- Type: Rhino.GeometryPoint3d
Line from point. - to
- Type: Rhino.GeometryPoint3d
Line to point. - color
- Type: System.DrawingColor
Color to draw line in. - thickness
- Type: SystemInt32
Thickness (in pixels) of line.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8