Click or drag to resize

DXFReaderNETControlDrawCircle Method

Draws a circle on the control.

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

Parameters

Pen
Type: System.DrawingPen
The pen object to render the element.
Center
Type: DXFReaderNETVector2
Center of the circle in drawing's units.
Radius
Type: SystemDouble
Radius of the circle 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 circle 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