PDF .NET Library Documentation - PDF Technologies, Inc.
Assembly: PDFTechLib (in PDFTechLib.dll) Version: 1.0.0.0 (1.7.9.0)
Use Arc to create an elliptically curved path.
Namespace:
PDFTechAssembly: 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 X3, double Y3, double X4, double Y4 ) |
Visual Basic (Declaration) |
---|
Public Sub DrawArc ( _ pen As PDFPen, _ X1 As Double, _ Y1 As Double, _ X2 As Double, _ Y2 As Double, _ X3 As Double, _ Y3 As Double, _ X4 As Double, _ Y4 As Double _ ) |
Visual C++ |
---|
public: void DrawArc( PDFPen^ pen, double X1, double Y1, double X2, double Y2, double X3, double Y3, double X4, double Y4 ) |
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
- X3
- Type: System..::.Double
Thirdth point x value
- Y3
- Type: System..::.Double
Thirdth point y value
- X4
- Type: System..::.Double
Fourth point x value
- Y4
- Type: System..::.Double
Fourth point y value
Return Value
Function return current point.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.