CanvasDrawPie Method (Pen, Brush, RectangleF, 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 defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.
Namespace:Bytescout.PDFAssembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.5.1.1204-master
Syntax
public void DrawPie( Pen pen, Brush brush, RectangleF rect, float startAngle, float sweepAngle )
Parameters
- pen
- Type: Bytescout.PDFPen
Bytescout.PDF.Pen that determines the color, width, and style of the pie. - brush
- Type: Bytescout.PDFBrush
Bytescout.PDF.Brush that determines the characteristics of the fill. - rect
- Type: System.DrawingRectangleF
System.Drawing.RectangleF structure that represents the bounding rectangle that defines the ellipse from which the pie shape comes. - 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