Click or drag to resize

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
)

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