Builder

class Builder

Properties

Link copied to clipboard

The block represents a line of text or one word of text.

Link copied to clipboard

Co-ordinates of the rectangle or polygon that contains the text.

Link copied to clipboard
var id: String?

Unique identifier for the block.

Link copied to clipboard
var page: Int?

Page number where the block appears.

Link copied to clipboard

A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text.

Link copied to clipboard
var text: String?

The word or line of text extracted from the block.

Functions

Link copied to clipboard