PdfUtils

open class PdfUtils

Collection of useful methods for working with PDF documents.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun boundingBoxFromLines(lines: List<List<PointF>>, @FloatRange(from = 0.0) lineWidth: Float): RectF
Calculates the bounding box from lines (specified in PDF coordinates).
Link copied to clipboard
open fun createPdfRectUnion(pdfRects: List<RectF>): RectF
Creates a union of a list of pdfRects.