public class DrawUtils extends Object
PdfCanvas| Modifier and Type | Method and Description |
|---|---|
static void |
arc(double x1,
double y1,
double x2,
double y2,
double startAng,
double extent,
com.itextpdf.kernel.pdf.canvas.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,
com.itextpdf.kernel.pdf.canvas.PdfCanvas cv)
x1 - corner-coordinate of the enclosing rectangle, first cornery1 - corner-coordinate of the enclosing rectangle, first cornerx2 - corner-coordinate of the enclosing rectangle, second cornery2 - corner-coordinate of the enclosing rectangle, second cornerstartAng - starting angle in degreesextent - extent of the arccv - canvas to paint onCopyright © 1998–2023 iText Group NV. All rights reserved.