public class DrawingUtil extends Object
PdfFormField.| Modifier and Type | Field and Description |
|---|---|
protected static String |
check |
protected static String |
circle |
protected static String |
cross |
protected static String |
diamond |
protected static String |
square |
protected static String |
star |
| Constructor and Description |
|---|
DrawingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawCircle(PdfCanvas canvas,
float centerX,
float centerY,
float radius)
Draws a circle with the specified radius.
|
static void |
drawCross(PdfCanvas canvas,
float width,
float height,
float borderWidth)
Draws a cross with the specified width and height.
|
static void |
drawPdfACheck(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant check mark in the specified rectangle.
|
static void |
drawPdfACheck(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant check mark in the specified rectangle.
|
static void |
drawPdfACircle(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant circle in the specified rectangle.
|
static void |
drawPdfACircle(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant circle in the specified rectangle.
|
static void |
drawPdfACross(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant cross in the specified rectangle.
|
static void |
drawPdfACross(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant cross in the specified rectangle.
|
static void |
drawPdfADiamond(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant diamond in the specified rectangle.
|
static void |
drawPdfADiamond(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant diamond in the specified rectangle.
|
static void |
drawPdfASquare(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant square in the specified rectangle.
|
static void |
drawPdfASquare(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant square in the specified rectangle.
|
static void |
drawPdfAStar(PdfCanvas canvas,
float width,
float height)
Draws a PDF A compliant star in the specified rectangle.
|
static void |
drawPdfAStar(PdfCanvas canvas,
float width,
float height,
float moveX,
float moveY)
Draws a PDF A compliant star in the specified rectangle.
|
protected static final String check
protected static final String circle
protected static final String cross
protected static final String diamond
protected static final String square
protected static final String star
public static void drawPdfACheck(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfACheck(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawPdfACircle(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfACircle(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawPdfACross(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfACross(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawPdfADiamond(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfADiamond(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawPdfASquare(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfASquare(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawPdfAStar(PdfCanvas canvas, float width, float height, float moveX, float moveY)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglemoveX - the x coordinate of the bottom left corner of the rectanglemoveY - the y coordinate of the bottom left corner of the rectanglepublic static void drawPdfAStar(PdfCanvas canvas, float width, float height)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectanglepublic static void drawCross(PdfCanvas canvas, float width, float height, float borderWidth)
canvas - the canvas to draw onwidth - the width of the rectangleheight - the height of the rectangleborderWidth - the width of the borderpublic static void drawCircle(PdfCanvas canvas, float centerX, float centerY, float radius)
canvas - the canvas to draw oncenterX - the x coordinate of the center of the circlecenterY - the y coordinate of the center of the circleradius - the radius of the circleCopyright © 1998–2024 Apryse Group NV. All rights reserved.