FormCheckBoxNode

data class FormCheckBoxNode(val name: String, val size: Dp, val checked: Boolean = false) : PdfNode

An interactive AcroForm checkbox.

Like FormTextFieldNode, the renderer always paints a static visual fallback (a bordered square, with an X drawn through it when checked), and only the JVM/Desktop backend overlays a real interactive PDCheckBox widget. Android and iOS show the visual-only square.

Constructors

Link copied to clipboard
constructor(name: String, size: Dp, checked: Boolean = false)

Properties

Link copied to clipboard
val checked: Boolean = false

initial on/off state.

Link copied to clipboard

field name written into the AcroForm; collisions are disambiguated with a -2, -3, … suffix by the backend.

Link copied to clipboard
val size: Dp

edge length of the square checkbox.