Link Search Menu Expand Document

DirectionalRectEdge

Constants that specify an edge or a set of edges, taking the user interface layout direction into account.

public struct DirectionalRectEdge: OptionSet 

Inheritance

OptionSet

Initializers

init(rawValue:)

public init(rawValue: UInt) 

Properties

rawValue

public let rawValue: UInt

none

No specified edge.

public static var none: DirectionalRectEdge 

top

The top edge.

public static var top: DirectionalRectEdge 

leading

The leading edge.

public static var leading: DirectionalRectEdge 

bottom

The bottom edge.

public static var bottom: DirectionalRectEdge 

trailing

The trailing edge.

public static var trailing: DirectionalRectEdge 

all

All edges.

public static var all: DirectionalRectEdge