LavaUI docs

struct Edge

Swift

struct Edge

Which sides of a box a layout inset applies to.

Matches SwiftUI's Edge.Set shape so call sites can write .padding(.horizontal, 8) without inventing a Lava-only vocabulary. Layout is LTR today: leading maps to the left edge and trailing to the right; a future layout-direction environment would remap at the Yoga boundary rather than renaming these cases.

Sources/LavaUI/EdgeInsets.swift:8

Constructors

init(rawValue: UInt8)

Not documented.

Sources/LavaUI/EdgeInsets.swift:11

Properties

static let all: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:22

static let bottom: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:17

static let horizontal: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:20

static let leading: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:16

let rawValue: UInt8

Not documented.

Sources/LavaUI/EdgeInsets.swift:9

static let top: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:15

static let trailing: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:18

static let vertical: Edge

Not documented.

Sources/LavaUI/EdgeInsets.swift:21