Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / ADDITIONAL WIDGETS AND TEXT
PanelShadow
A translated rectangular shadow drawn before the panel and clipped by its enclosing buffer clip.
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.
Members on this page
Feature guides and release status
PanelShadow
struct PanelShadowConforms to: Swift.Sendable, Swift.SendableMetatype.
A translated rectangular shadow drawn before the panel and clipped by its enclosing buffer clip.
Source · BorderSymbols.swift:52offsetX
var offsetX: IntA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:53offsetY
var offsetY: IntA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:54style
var style: StyleVisual attributes used when painting this value.
Source · BorderSymbols.swift:55glyph
let glyph: StringA public field of this type. Its value type and mutability are shown in the declaration.
Source · BorderSymbols.swift:56init(offsetX:offsetY:style:glyph:)
init(offsetX: Int = 1, offsetY: Int = 1, style: Style = Style(), glyph: String = "░") throwsCreates a value with the supplied arguments. Default arguments are shown in the declaration.
Parameters (4)
offsetX- Argument type and any default are shown in the declaration; see the behavior notes above.
offsetY- Argument type and any default are shown in the declaration; see the behavior notes above.
style- Text/cell appearance.
glyph- Argument type and any default are shown in the declaration; see the behavior notes above.