create

common
fun create(filePath: String, width: Double, height: Double): PdfSurface

Creates a PdfSurface of the specified size in points to be written to filePath.

Return

An PdfSurface or an IllegalStateException if the surface can't be created.

Parameters

width

Width of the surface in points.

height

Width of the surface in points.

linuxArm32
fun create(filePath: String, width: Double, height: Double): PdfSurface

Parameters

width

Width of the surface in points.

height

Width of the surface in points.

linuxX64
fun create(filePath: String, width: Double, height: Double): PdfSurface

Parameters

width

Width of the surface in points.

height

Width of the surface in points.