formTextField

open fun formTextField(name: String, x: Float, y: Float, width: Float, height: Float, value: String, multiline: Boolean, fontSizePt: Float)

Records an interactive AcroForm text input field covering the given rectangle.

Only backends with an AcroForm API honour this (the JVM/Desktop PdfBox backend creates a real PDTextField). Android and iOS default to a no-op — the renderer has already drawn a static visual fallback so the box is still visible there, just not editable.

Parameters

fontSizePt

font size, in points, for the field's default appearance — matches the static fallback so the two look alike.