Click or drag to resize
Pdftools logo

PathGeneratorAddArc Method

Add an elliptical arc to the current path.


Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.2.0+708f7116d933787a0712d56133e4c2c9bf21e5e3
Syntax
C#
public void AddArc(
	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