Click or drag to resize

DXFReaderNETControlDrawArc Method

Draws an arc on the control.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntax
public void DrawArc(
	Pen Pen,
	Vector2 Center,
	double Radius,
	double StartAngle,
	double EndAngle,
	bool Store = false
)

Parameters

Pen
Type: System.DrawingPen
The pen object to render the element.
Center
Type: DXFReaderNETVector2
Center of the arc in drawing's units.
Radius
Type: SystemDouble
Radius of the arc in drawing's units
StartAngle
Type: SystemDouble
Start angle, in degrees, of the arc.
EndAngle
Type: SystemDouble
End angle, in degrees, of the arc.
Store (Optional)
Type: SystemBoolean
If set to true the element is drawn again after a refresh.
Remarks
This method adds an arc to the drawing without modifying the drawing database. Can be used for for temporary visualizations, such as highlighting or previewing elements, without making permanent changes to the DXF data.
See Also