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 newPdfACheckBoxRenderingStrategyinstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)Draws a check box icon.private static voiddrawIcon(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)
-
-
-
Constructor Detail
-
PdfACheckBoxRenderingStrategy
public PdfACheckBoxRenderingStrategy()
Creates a newPdfACheckBoxRenderingStrategyinstance.
-
-
Method Detail
-
drawCheckBoxContent
public void drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle)
Draws a check box icon.- Specified by:
drawCheckBoxContentin 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)
-
-