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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.private static voiddrawIcon(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)
-
Constructor Details
-
PdfACheckBoxRenderingStrategy
public PdfACheckBoxRenderingStrategy()Creates a newPdfACheckBoxRenderingStrategyinstance.
-
-
Method Details
-
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
-