PDF .NET Library Documentation - PDF Technologies, Inc.
Use Arc to create an elliptically curved path.

Namespace:  PDFTech
Assembly:  PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)

Syntax

C#
public void DrawArc(
	PDFPen pen,
	double X1,
	double Y1,
	double X2,
	double Y2,
	double BegAngle,
	double EndAngle
)
Visual Basic (Declaration)
Public Sub DrawArc ( _
	pen As PDFPen, _
	X1 As Double, _
	Y1 As Double, _
	X2 As Double, _
	Y2 As Double, _
	BegAngle As Double, _
	EndAngle As Double _
)
Visual C++
public:
void DrawArc(
	PDFPen^ pen, 
	double X1, 
	double Y1, 
	double X2, 
	double Y2, 
	double BegAngle, 
	double EndAngle
)

Parameters

pen
Type: PDFTech..::.PDFPen
Pen that determines the color and width of the arc.
X1
Type: System..::.Double
First point x value
Y1
Type: System..::.Double
First point y value
X2
Type: System..::.Double
Second point x value
Y2
Type: System..::.Double
Second point y value
BegAngle
Type: System..::.Double
Begin angle
EndAngle
Type: System..::.Double
End angle

Remarks

Use Arc to create an elliptically curved path. The arc traverses the perimeter of an ellipse that is bounded by the points (X1,Y1) and (X2,Y2). The arc is drawn following the perimeter of the ellipse, counterclockwise, from the starting point to the ending point. The starting point is defined by the intersection of the ellipse and a line defined by
  • The center of the ellipse and (X3,Y3). The ending point is defined by the intersection of the ellipse and a line defined by the center of the ellipse and (X4, Y4).
  • BegAngle and EndAngle, specified in degrees.

See Also