Draws a filled, convex polygon from a collection of points.
RhinoCommon (in RhinoCommon.dll)
public void DrawPolygon(
Public Sub DrawPolygon (
points As IEnumerable(Of Point3d),
color As Color,
filled As Boolean
- 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.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.2