Link Search Menu Expand Document

RectEdge

Constants that specify the edges of a rectangle.

public struct RectEdge: OptionSet 

Inheritance

OptionSet

Nested Type Aliases

RawValue

public typealias RawValue = UInt

Initializers

init(rawValue:)

public init(rawValue: RawValue) 

Properties

rawValue

public let rawValue: RawValue

top

The top edge of the rectangle.

public static var top: RectEdge 

left

The left edge of the rectangle.

public static var left: RectEdge 

bottom

The bottom edge of the rectangle.

public static var bottom: RectEdge 

The right edge of the rectangle.

public static var right: RectEdge 

all

All edges of the rectangle.

public static var all: RectEdge