DXFReaderNETControlDrawCircle Method
|
Draws a circle on the control.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.12.2
Syntaxpublic void DrawCircle(
Pen Pen,
Vector2 Center,
double Radius,
bool Filled = false,
bool Store = false
)
Public Sub DrawCircle (
Pen As Pen,
Center As Vector2,
Radius As Double,
Optional Filled As Boolean = false,
Optional Store As Boolean = false
)
public:
void DrawCircle(
Pen^ Pen,
Vector2 Center,
double Radius,
bool Filled = false,
bool Store = false
)
member DrawCircle :
Pen : Pen *
Center : Vector2 *
Radius : float *
?Filled : bool *
?Store : bool
(* Defaults:
let _Filled = defaultArg Filled false
let _Store = defaultArg Store false
*)
-> unit
METHOD DrawCircle(
Pen AS Pen,
Center AS Vector2,
Radius AS REAL8,
Filled AS LOGIC := FALSE,
Store AS LOGIC := FALSE
) AS VOID
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.
RemarksThis 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