loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / WIDGETS

BorderType

Single, rounded, double, thick, or custom border glyphs. BorderSymbols validates printable single-cell symbols. BorderLayer can merge shared edges with explicit junction rules.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Example

let border: BorderType = .double
_ = Panel(borderType: border)
Members on this page

Feature guides and release status

BorderType

Enumeration
enum BorderType

Conforms to: Swift.Sendable, Swift.SendableMetatype.

The line characters used by a panel.

Source · Panel.swift:38

single

Case
case single

The single case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:39

rounded

Case
case rounded

The rounded case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:40

double

Case
case double

The double case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:41

custom(_:)

Case
case custom(BorderSymbols)

The custom case. Associated values, if any, are shown in the declaration.

Source · Panel.swift:42