Accusoft ImagXpress 13
DrawCircle Method
The x-coordinate (in pixels) for the center point of the circle or ellipse.
The y-coordinate (in pixels) for the center point of the circle or ellipse.
The radius (in pixels) of the circle or ellipse.

The RGB color of the circles outline. If omitted, Black is used. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range.

Single-precision value indicating the aspect ratio of the circle. 1.0 yields a perfect (non-elliptical) circle on any screen.
Description
Draws a circle or ellipse onto the image.
Syntax
Visual Basic
Public Sub DrawCircle( _
   ByVal x As Long, _
   ByVal y As Long, _
   ByVal Radius As Long, _
   ByVal Color As OLE_COLOR, _
   ByVal Aspect As Single _
) 
Parameters
x
The x-coordinate (in pixels) for the center point of the circle or ellipse.
y
The y-coordinate (in pixels) for the center point of the circle or ellipse.
Radius
The radius (in pixels) of the circle or ellipse.
Color

The RGB color of the circles outline. If omitted, Black is used. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range.

Aspect
Single-precision value indicating the aspect ratio of the circle. 1.0 yields a perfect (non-elliptical) circle on any screen.
Remarks

To fill a circle, set the DrawFillColor and DrawFillStyle properties of the object on which the circle or ellipse is drawn.

The width of the line used to draw the circle or ellipse depends on the setting of the DrawWidth property. The way the circle is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.

The DrawArc method draws into the control's DIB.

See Also

ImagXpress Object  | ImagXpress Members  | DrawFillColor Property  | DrawFillStyle Property  | DrawWidth Property  | DrawStyle Property  | DrawMode Property  | DrawArc Method

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback