RenderDirectPolygon(IEnumerable,LineDef,Brush) Method
In This Topic
Creates a
RenderPolygon from a collection of
UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
If is null, the polygon is open, otherwise it is closed.
Syntax
Parameters
- points
- The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection).
- line
- The LineDef to draw the polygon with.
- fillBrush
- The fill color (if null, the polygon is open, otherwise it is closed).
See Also