Click or drag to resize
Pdftools logo

PathGeneratorAddPie Method

Add an elliptical piece of pie to the current path as a complete subpath.


Namespace: PdfTools.FourHeights.PdfToolbox.Pdf.Content
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 4.4.1+cd45f416896d630bcd3719f4b2cba7920f2790da
Syntax
C#
public void AddPie(
	Rectangle rectangle,
	double alpha1,
	double alpha2
)

Parameters

rectangle  Rectangle
the surrounding rectangle of the ellipse
alpha1  Double
the angle between the x-axis and the begin of the arc
alpha2  Double
the angle between the x-axis and the end of the arc
Exceptions
ExceptionCondition
InvalidOperationExceptionif the object has already been closed
InvalidOperationExceptionif the path object has already been closed
See Also