[]
Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
public void RenderDirectPolygon(IEnumerable points, bool closed, Style style)
Public Sub RenderDirectPolygon(points As IEnumerable, closed As Boolean, style As Style)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| bool | closed | A value indicating whether the polygon should be closed (i.e. the last point connected to the first one). |
| Style | style | The Style to use. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
If fillColor specifies a non-empty and non-transparent color,
the polygon is closed, otherwise it is open.
public void RenderDirectPolygon(IEnumerable points, LineDef line, Color fillColor)
Public Sub RenderDirectPolygon(points As IEnumerable, line As LineDef, fillColor As Color)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| LineDef | line | The LineDef to draw the polygon with. |
| Color | fillColor | The fill color (if empty or transparent, the polygon is closed, otherwise it is open). |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
If fillBrush is null, the polygon is open, otherwise it is closed.
public void RenderDirectPolygon(IEnumerable points, LineDef line, Brush fillBrush)
Public Sub RenderDirectPolygon(points As IEnumerable, line As LineDef, fillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| LineDef | line | The LineDef to draw the polygon with. |
| Brush | fillBrush | The fill color (if null, the polygon is open, otherwise it is closed). |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Creates an open RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
public void RenderDirectPolygon(IEnumerable points, LineDef line)
Public Sub RenderDirectPolygon(points As IEnumerable, line As LineDef)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| LineDef | line | The LineDef to draw the polygon with. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Creates a RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
If fillColor specifies a non-empty and non-transparent color,
the polygon is closed, otherwise it is open.
public void RenderDirectPolygon(IEnumerable points, Color lineColor, Unit lineThickness, Color fillColor)
Public Sub RenderDirectPolygon(points As IEnumerable, lineColor As Color, lineThickness As Unit, fillColor As Color)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| Color | lineColor | The line color. |
| Unit | lineThickness | The line thickness. |
| Color | fillColor | The fill color (if empty or transparent, the polygon is closed, otherwise it is open). |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).
Creates an open RenderPolygon from a collection of UnitPoint objects, and renders it on the current page, at position specified by the points' coordinates.
public void RenderDirectPolygon(IEnumerable points, Color lineColor, Unit lineThickness)
Public Sub RenderDirectPolygon(points As IEnumerable, lineColor As Color, lineThickness As Unit)
| Type | Name | Description |
|---|---|---|
| IEnumerable | points | The collection of UnitPoint objects (an exception occurs if an object that is not a UnitPoint is found in the collection). |
| Color | lineColor | The line color. |
| Unit | lineThickness | The line thickness. |
This method can only be used between calls to StartDoc() and EndDoc() methods on the current document. For details, see RenderDirect(Unit, Unit, RenderObject, object, object).