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