Draws a pie on a GdPicture image.
public GdPictureStatus DrawPie( int ImageID, int DstLeft, int DstTop, int Width, int Height, Single StartAngle, Single SweepAngle, int PenWidth, Color PenColor, Boolean AntiAlias );
Public Function DrawPie( ByVal ImageID As Integer, ByVal DstLeft As Integer, ByVal DstTop As Integer, ByVal Width As Integer, ByVal Height As Integer, ByVal StartAngle As Single, ByVal SweepAngle As Single, ByVal PenWidth As Integer, ByVal PenColor As Color, ByVal AntiAlias As Boolean ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
DstLeft |
Specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie. |
|
DstTop |
the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse in which to draw the pie. |
|
Width |
Specifies the width of the rectangle that bounds the ellipse in which to draw the pie. |
|
Height |
Specifies the height of the rectangle that bounds the ellipse in which to draw the pie. |
|
StartAngle |
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. |
|
SweepAngle |
the angle, in degrees, between the starting and ending points of the arc that defines the pie. A positive value specifies clockwise rotation. |
|
PenWidth |
The width in pixel of the pen used to draw the rectangle. |
|
PenColor |
Color Object. You can build a Color Object using the ARGB() function. Color used to draw the pie. |
|
AntiAlias |
Set to True to apply the Antialiasing algorithm else False. |
A member of the GdPictureStatus enumeration.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|