'Declaration
Public Function DrawCircle( _ ByVal CenterX As Single, _ ByVal CenterY As Single, _ ByVal Radius As Single, _ ByVal Fill As Boolean, _ ByVal Stroke As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawCircle( float CenterX, float CenterY, float Radius, bool Fill, bool Stroke )
public function DrawCircle( CenterX: Single; CenterY: Single; Radius: Single; Fill: Boolean; Stroke: Boolean ): GdPictureStatus;
public function DrawCircle( CenterX : float, CenterY : float, Radius : float, Fill : boolean, Stroke : boolean ) : GdPictureStatus;
Parameters
- CenterX
- The horizontal (X) coordinate of the circle's center, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- CenterY
- The vertical (Y) coordinate of the circle's center, expressed in the current units specified by the SetMeasurementUnit method with respect to the defined origin, related to the currently selected page.
- Radius
- The required radius of the circle, expressed in the current units specified by the SetMeasurementUnit method.
- Fill
- Set this parameter to true, if you want to fill the circle using the currently defined fill color, otherwise set it to false. You can set the fill color using the GdPicturePDF.SetFillColor method.
- Stroke
- Set this parameter to true, if you want to stroke the circle (draw a boundary line along the circle) using the currently defined line color, otherwise set it to false. You can set the line color using the GdPicturePDF.SetLineColor method.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.