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.
|
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–2022 iText Group NV. All rights reserved.