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 TypeMethodDescriptionvoid
drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.private static void
drawIcon
(CheckBoxType type, PdfCanvas canvas1, Rectangle rectangle)
-
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 contextcheckBoxRenderer
- the checkBox rendererrectangle
- the rectangle where the icon should be drawn
-
drawIcon
-