Class PdfACheckBoxRenderingStrategy
- java.lang.Object
-
- com.itextpdf.forms.form.renderer.checkboximpl.PdfACheckBoxRenderingStrategy
-
- All Implemented Interfaces:
ICheckBoxRenderingStrategy
public final class PdfACheckBoxRenderingStrategy extends java.lang.Object implements ICheckBoxRenderingStrategy
This class is used to draw a checkBox icon in PDF/A mode.
-
-
Constructor Summary
Constructors Constructor Description PdfACheckBoxRenderingStrategy()
Creates a newPdfACheckBoxRenderingStrategy
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)
Draws a check box icon.private static void
drawIcon(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)
-
-
-
Constructor Detail
-
PdfACheckBoxRenderingStrategy
public PdfACheckBoxRenderingStrategy()
Creates a newPdfACheckBoxRenderingStrategy
instance.
-
-
Method Detail
-
drawCheckBoxContent
public void drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)
Draws a check box icon.- Specified by:
drawCheckBoxContent
in interfaceICheckBoxRenderingStrategy
- Parameters:
drawContext
- the draw contextcheckBoxRenderer
- the checkBox rendererrectangle
- the rectangle where the icon should be drawn
-
drawIcon
private static void drawIcon(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)
-
-