DrawPie Method

See Also     Examples     Applies To

Draws a pie into the native GdPicture image.

Syntax

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

The DrawPie 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 rectangle that bounds the ellipse in which to draw the pie.
nDstTop Required. Long. the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie.
nWidth Required. Long. Specifies the width of the rectangle that bounds the ellipse in which to draw the pie.
nHeight Required. Long. Specifies the height of the rectangle that bounds the ellipse in which to draw the pie.
nStartAngle Required. Single. Specifies the angle, in degrees, between the x-axis and the starting point of the arc that defines the pie. A positive value specifies clockwise rotation.
nSweepAngle Required. Single. the angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation.
nPenWidth Required. Long. The width in pixel of the pen used to draw the rectangle.
nColorARGB Optional. Long. Default value is Black. 32-bit Color (ARGB) used to draw the pie.
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.