Region

public struct Region : Decodable

A document’s page layout region, indicating its origin, size, type, lines and words

  • l

    Top-Left X origin

    Declaration

    Swift

    public let l: Double
  • t

    Top-Left Y origin

    Declaration

    Swift

    public let t: Double
  • w

    Region width

    Declaration

    Swift

    public let w: Double
  • h

    Region height

    Declaration

    Swift

    public let h: Double
  • Region type

    Declaration

    Swift

    public let type: String?
  • (Optional) Amount of lines in that region

    Declaration

    Swift

    public let lines: [Region]?
  • wds

    (Optional) Amount of words in that region

    Declaration

    Swift

    public let wds: [Word]?