Class DrawUtils
Utility class for drowing shapes on PdfCanvas
public class DrawUtils
- Inheritance
-
DrawUtils
- Inherited Members
Methods
Arc(double, double, double, double, double, double, PdfCanvas)
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)
Parameters
x1
doublecorner-coordinate of the enclosing rectangle, first corner
y1
doublecorner-coordinate of the enclosing rectangle, first corner
x2
doublecorner-coordinate of the enclosing rectangle, second corner
y2
doublecorner-coordinate of the enclosing rectangle, second corner
startAng
doublestarting angle in degrees
extent
doubleextent of the arc
cv
PdfCanvascanvas to paint on
Remarks
Draw an arc on the passed canvas, enclosed by the rectangle for which two opposite corners are specified. The arc starts at the passed starting angle and extends to the starting angle + extent