Class PdfACheckBoxRenderingStrategy
java.lang.Object
com.itextpdf.forms.form.renderer.checkboximpl.PdfACheckBoxRenderingStrategy
- All Implemented Interfaces:
-
ICheckBoxRenderingStrategy
public final class PdfACheckBoxRenderingStrategy extends Object implements ICheckBoxRenderingStrategy
This class is used to draw a checkBox icon in PDF/A mode.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.
-
Constructor Details
-
PdfACheckBoxRenderingStrategy
public PdfACheckBoxRenderingStrategy()Creates a newPdfACheckBoxRenderingStrategy
instance.
-
-
Method Details
-
drawCheckBoxContent
public void drawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.- Specified by:
-
drawCheckBoxContent
in interfaceICheckBoxRenderingStrategy
- Parameters:
-
drawContext
- the draw context -
checkBoxRenderer
- the checkBox renderer -
rectangle
- the rectangle where the icon should be drawn
-