FieldSpec

data class FieldSpec(val line: Int, val startInLine: Int, val endInLineExclusive: Int)

The position of one field in an MRZ format.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(line: Int, startInLine: Int, endInLineExclusive: Int)

Properties

Link copied to clipboard

Zero-based index after the last character on that line.

Link copied to clipboard
val line: Int

Zero-based index of the line.

Link copied to clipboard

Zero-based index of the first character on that line.

Link copied to clipboard
val width: Int

Number of characters the field spans.

Functions

Link copied to clipboard

Returns this field's first character from lines.

Link copied to clipboard

Returns this field's text from lines.