Adds a pie to this path. An arc is a portion of an ellipse, and a pie is a portion of the area enclosed by an ellipse. A pie is bounded by an arc and two lines (edges) that go from the center of the ellipse to the endpoints of the arc.
Namespace: RSGdiPlusGraphics
Delphi |
public |
Parameters
x
Type: Single
Real number that specifies the x-coordinate of the upper-left corner of the rectangle that bounds the ellipse that bounds the pie.
y
Type: Single
Real number that specifies the y-coordinate of the upper-left corner of the rectangle that bounds the ellipse that bounds the pie.
width
Type: Single
Real number that specifies the width of the rectangle that bounds the ellipse that bounds the pie.
height
Type: Single
Real number that specifies the height of the rectangle that bounds the ellipse that bounds the pie.
StartAngle
Type: Single
Real number that specifies the clockwise angle, in degrees, between the horizontal axis of the ellipse and the starting point of the arc that defines the pie.
SweepAngle
Type: Single
Real number that specifies the clockwise angle, in degrees, between the starting and ending points of the arc that defines the pie.
Type: TRSGPPath
The function returns the current path so that you can chain together commands, e.g., aPath.MoveTo(PointF(50,50)).LineTo(PointF(100,100).AddPolygon(Polygon1).AddEllipse(RectF(10,10,200,100)); |