public class DrawUtils extends Object
PdfCanvas| Modifier and Type | Method and Description |
|---|---|
static void |
arc(float x1,
float y1,
float x2,
float y2,
float startAng,
float 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(float x1,
float y1,
float x2,
float y2,
float startAng,
float 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–2019 iText Group NV. All rights reserved.