Link Search Menu Expand Document

CanvasDrawPie Method (Brush, RectangleF, Single, Single)

Draws a pie shape defined by an ellipse specified by a System.Drawing.RectangleF structure and two radial lines.

Namespace:Bytescout.PDF
Assembly: Bytescout.PDF (in Bytescout.PDF.dll) Version: 3.3.0.623-master
Syntax
public void DrawPie(
	Brush brush,
	RectangleF rect,
	float startAngle,
	float sweepAngle
)

Parameters

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

Reference


Copyright © 2016 - 2021 ByteScout