Class HtmlCheckBoxRenderingStrategy
java.lang.Object
com.itextpdf.forms.form.renderer.checkboximpl.HtmlCheckBoxRenderingStrategy
- All Implemented Interfaces:
ICheckBoxRenderingStrategy
public final class HtmlCheckBoxRenderingStrategy
extends Object
implements ICheckBoxRenderingStrategy
This class is used to draw a checkBox icon in HTML mode.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawCheckBoxContent
(DrawContext drawContext, CheckBoxRenderer checkBoxRenderer, Rectangle rectangle) Draws a check box icon.
-
Constructor Details
-
HtmlCheckBoxRenderingStrategy
public HtmlCheckBoxRenderingStrategy()Creates a newHtmlCheckBoxRenderingStrategy
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
-