DXFReaderNETControlDrawPolygon Method
|
Draws a polygon on the control.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public void DrawPolygon(
Pen Pen,
List<Vector2> Vertexes,
bool Filled = false,
bool Store = false
)
Public Sub DrawPolygon (
Pen As Pen,
Vertexes As List(Of Vector2),
Optional Filled As Boolean = false,
Optional Store As Boolean = false
)
public:
void DrawPolygon(
Pen^ Pen,
List<Vector2>^ Vertexes,
bool Filled = false,
bool Store = false
)
member DrawPolygon :
Pen : Pen *
Vertexes : List<Vector2> *
?Filled : bool *
?Store : bool
(* Defaults:
let _Filled = defaultArg Filled false
let _Store = defaultArg Store false
*)
-> unit
METHOD DrawPolygon(
Pen AS Pen,
Vertexes AS List<Vector2>,
Filled AS LOGIC := FALSE,
Store AS LOGIC := FALSE
) AS VOID
Parameters
- Pen
- Type: System.DrawingPen
The pen object to render the element. - Vertexes
- Type: System.Collections.GenericListVector2
Vertexes' list of the polygon in drawing's units. - Filled (Optional)
- Type: SystemBoolean
If set to true the element is filled according Pen parameter. - Store (Optional)
- Type: SystemBoolean
If set to true the element is drawn again after a refresh.
Remarks This method adds a polygon to the drawing without modifying the drawing database.
See Also