LavaUI docs GitHub

struct Entry

Swift

struct Entry

A measured text layout.

Sources/LavaUI/Font.swift:1097

Properties

var height: Float

Total height of the lines, in pixels.

Sources/LavaUI/Font.swift:1101

var lines: [String]

The text broken into the lines it lays out as.

Sources/LavaUI/Font.swift:1103

var width: Float

Width of the widest line, in pixels.

Sources/LavaUI/Font.swift:1099