Word

public struct Word : Decodable

Word contained within a text region

  • l

    Top-Left X origin

    Declaration

    Swift

    public let l: Double
  • t

    Top-Left Y origin

    Declaration

    Swift

    public let t: Double
  • w

    Word width

    Declaration

    Swift

    public let w: Double
  • h

    Word height

    Declaration

    Swift

    public let h: Double
  • Word font size

    Declaration

    Swift

    public let fontSize: Double
  • Word font family

    Declaration

    Swift

    public let fontFamily: String
  • Indicates if the font style is bold

    Declaration

    Swift

    public let bold: Bool
  • Text contained in the word

    Declaration

    Swift

    public let text: String