DrawArc Method

See Also     Examples     Applies To

Draws an arc into the native GdPicture image. The arc is part of an ellipse.

Syntax

object.DrawArc (nDstLeft, nDstTop, nWidth, nHeight, nStartAngle, nSweepAngle, nPenWidth, nColorARGB, bAntiAlias)

The DrawArc syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nDstLeft Required. Long. Specifies the x-coordinate of the upper-left corner of the bounding rectangle for the ellipse that contains the arc.
nDstTop Required. Long. Specifies the y-coordinate of the upper-left corner of the bounding rectangle for the ellipse that contains the arc.
nWidth Required. Long. Specifies the width of the ellipse that contains the arc.
nHeight Required. Long. Specifies the height of the ellipse that contains the arc.
nStartAngle Required. Single. Specifies the angle between the x-axis and the starting point of the arc.
nSweepAngle Required. Single. Specifies the angle between the starting and ending points of the arc.
nPenWidth Required. Long. The width in pixel of the pen used to draw the arc.
nColorARGB Optional. Long. Default value is Black. 32-bit Color (ARGB) of the arc.
bAntiAlias Optional. Boolean. Default value is False. Set to True to apply the Antialiasing algorithm else False.

Returns

Long. GdPictureStatus

Category

Draw (Lines and Shapes)





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.