init(_:)

Creates a set of horizontal directions containing only the specified direction.

Declaration

init(_ direction: NSHorizontalDirection)