DisplayPipeline.DrawLine Method (Point3d, Point3d, Color, Int32)
Click or drag to resize

DisplayPipelineDrawLine Method (Point3d, Point3d, Color, Int32)

Draws a single line object.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void DrawLine(
	Point3d from,
	Point3d to,
	Color color,
	int thickness
)

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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also