RenderDirectPolygon(IEnumerable,Color,Unit,Color) 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 specifies a non-empty and non-transparent color, the polygon is closed, otherwise it is open.
Syntax
'Declaration
Public Overloads Sub RenderDirectPolygon( _
ByVal As System.Collections.IEnumerable, _
ByVal As System.Drawing.Color, _
ByVal As Unit, _
ByVal As System.Drawing.Color _
)
public void RenderDirectPolygon(
System.Collections.IEnumerable ,
System.Drawing.Color ,
Unit ,
System.Drawing.Color
)
Parameters
- points
- The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection).
- lineColor
- The line color.
- lineThickness
- The line thickness.
- fillColor
- The fill color (if empty or transparent, the polygon is closed, otherwise it is open).
See Also