PdfCharacter

data class PdfCharacter(val characterIndex: Int, val unicodeCodePoint: Int, val bounds: PdfRect?, val origin: PdfPoint?, val fontSize: Double?, val angleRadians: Double?, val isGenerated: Boolean, val isHyphen: Boolean, val hasUnicodeMappingError: Boolean)

Geometry and attributes of a single character within a PdfTextLayout.

Constructors

Link copied to clipboard
constructor(characterIndex: Int, unicodeCodePoint: Int, bounds: PdfRect?, origin: PdfPoint?, fontSize: Double?, angleRadians: Double?, isGenerated: Boolean, isHyphen: Boolean, hasUnicodeMappingError: Boolean)

Properties

Link copied to clipboard

Baseline rotation in radians, or null when unavailable.

Link copied to clipboard

Bounding box in PDF points, or null when unavailable.

Link copied to clipboard

PDFium character index within the page.

Link copied to clipboard

Font size in PDF points, or null when unavailable.

Link copied to clipboard

Whether the character's Unicode mapping failed.

Link copied to clipboard

Whether PDFium generated this character without a Unicode mapping.

Link copied to clipboard

Whether this character is an inserted soft hyphen.

Link copied to clipboard

Baseline origin in PDF points, or null when unavailable.

Link copied to clipboard

Unicode code point of the character.