API reference

Edge Struct

Extends OptionSet, Sendable
A set of edges for padding modifiers.

Signature

struct Edge: OptionSet, Sendable

Constructors

init ( rawValue )
Signature
public init( rawValue: UInt8)
Parameters
rawValue: UInt8

Properties

all : Edge
All four edges.
bottom
The bottom edge.
horizontal : Edge
Both leading and trailing edges.
leading
The leading (start) edge.
rawValue : UInt8
top
The top edge.
trailing
The trailing (end) edge.
vertical : Edge
Both top and bottom edges.