DisplayPipelineDraw2dPolyline Method (Point2f, DisplayPen) |
Draws a polyline whose coordinates are viewport pixels rather than world units.
The origin is the top left of the frame, with y increasing downwards - the same
space Draw2dText and DrawBitmap work in.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic void Draw2dPolyline(
Point2f[] points,
DisplayPen pen
)
Public Sub Draw2dPolyline (
points As Point2f(),
pen As DisplayPen
)
Parameters
- points
- Type: Rhino.GeometryPoint2f
The polyline vertices, in screen coordinates. Fewer than two draws nothing. - pen
- Type: Rhino.DisplayDisplayPen
Pen to stroke the polyline with.
See Also