CanvasDrawPie Method (Brush, Single, Single, Single, Single, Single, Single)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Draws a pie shape.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawPie( Brush brush, float centerX, float centerY, float radiusX, float radiusY, float startAngle, float sweepAngle )
Parameters
- brush
- Type: Bytescout.PDFBrush
Bytescout.PDF.Brush that determines the characteristics of the fill. - centerX
- Type: SystemSingle
The x-coordinate of the center of the ellipse. - centerY
- Type: SystemSingle
The y-coordinate of the center of the ellipse. - radiusX
- Type: SystemSingle
The radius of the ellipse measured along the x-axis. - radiusY
- Type: SystemSingle
The radius of the ellipse measured along the y-axis. - startAngle
- Type: SystemSingle
Angle measured in degrees clockwise from the x-axis to the first side of the pie shape. - sweepAngle
- Type: SystemSingle
Angle measured in degrees clockwise from the startAngle parameter to the second side of the pie shape.
See Also