Click or drag to resize

DisplayPipelineDrawPolygon Method

Draws a filled, convex polygon from a collection of points.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
public void DrawPolygon(
	IEnumerable<Point3d> points,
	Color color,
	bool filled


Type: System.Collections.GenericIEnumerablePoint3d
Collection of world coordinate points that are connected by lines to form a closed shape. Collection must contain at least 3 points.
Type: System.DrawingColor
Color to draw with.
Type: SystemBoolean
true if the closed area should be filled with color. false if you want to draw just the border of the closed shape.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.27
See Also