Class PdfCheckBoxRenderingStrategy
java.lang.Object
com.itextpdf.forms.form.renderer.checkboximpl.PdfCheckBoxRenderingStrategy
- All Implemented Interfaces:
ICheckBoxRenderingStrategy
public final class PdfCheckBoxRenderingStrategy
extends Object
implements ICheckBoxRenderingStrategy
This class is used to draw a checkBox icon in PDF mode this is the default strategy for drawing a checkBox.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawCheckBoxContent(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.
-
Field Details
-
ZAPFDINGBATS_CHECKBOX_MAPPING
-
-
Constructor Details
-
PdfCheckBoxRenderingStrategy
public PdfCheckBoxRenderingStrategy()Creates a newPdfCheckBoxRenderingStrategyinstance.
-
-
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
-