Modifier and Type | Method and Description |
---|---|
static void |
arc(double x1, double y1, double x2, double y2, double startAng, double extent, PdfCanvas cv)
Draw an arc on the passed canvas, enclosed by the rectangle for which two opposite corners are specified.
|
static void |
arc(float x1, float y1, float x2, float y2, float startAng, float extent, PdfCanvas cv)
Deprecated.
In
PdfCanvas most of the path drawing methods accept double . So it is preferable to use arc(double, double, double, double, double, double, PdfCanvas) . This method will be removed in iText 7.2
|
@Deprecated public static void arc(float x1, float y1, float x2, float y2, float startAng, float extent, PdfCanvas cv)
PdfCanvas
most of the path drawing methods accept double
. So it is preferable to use arc(double, double, double, double, double, double, PdfCanvas)
. This method will be removed in iText 7.2
x1
- corner-coordinate of the enclosing rectangle, first corner
y1
- corner-coordinate of the enclosing rectangle, first corner
x2
- corner-coordinate of the enclosing rectangle, second corner
y2
- corner-coordinate of the enclosing rectangle, second corner
startAng
- starting angle in degrees
extent
- extent of the arc
cv
- canvas to paint on
public static void arc(double x1, double y1, double x2, double y2, double startAng, double extent, PdfCanvas cv)
x1
- corner-coordinate of the enclosing rectangle, first corner
y1
- corner-coordinate of the enclosing rectangle, first corner
x2
- corner-coordinate of the enclosing rectangle, second corner
y2
- corner-coordinate of the enclosing rectangle, second corner
startAng
- starting angle in degrees
extent
- extent of the arc
cv
- canvas to paint on
Copyright © 1998–2023 iText Group NV. All rights reserved.