RenderDirectPolygon(IEnumerable,LineDef) Method
In This Topic
Creates an open
C1.C1Preview.RenderPolygon from a collection of
C1.C1Preview.UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
Syntax
'Declaration
Public Overloads Sub RenderDirectPolygon( _
ByVal As IEnumerable, _
ByVal As LineDef _
)
public void RenderDirectPolygon(
IEnumerable ,
LineDef
)
Parameters
- points
- The collection of C1.C1Preview.UnitPoint objects (an exception occurs if an object that is not a C1.C1Preview.UnitPoint is found in the collection).
- line
- The C1.C1Preview.LineDef to draw the polygon with.
See Also