Watermark
data class Watermark(val text: String, val anchor: WatermarkAnchor? = null, val offsetX: Double? = null, val offsetY: Double? = null, val rotation: Double? = null, val color: String? = null, val size: Double? = null, val opacity: Double? = null, val font: String? = null, val fromPage: Int? = null, val toPage: Int? = null)
One entry of Watermarks. text supports {#PAGE_NUMBER} and {#PAGE_TOTAL}.
Types
Link copied to clipboard
Builder for one Watermark, used through PdfOptions.Builder.watermark.