AlignmentID
public protocol AlignmentID
Types used to identify alignment guides.
Types conforming to AlignmentID have a corresponding alignment guide value,
typically declared as a static constant property of HorizontalAlignment or
VerticalAlignment.
-
Returns the value of the corresponding guide, in
context, when not otherwise set incontext.Declaration
Swift
static func defaultValue(in context: ElementDimensions) -> CGFloat
View on GitHub
AlignmentID Protocol Reference