Center
public struct Center : OptionSet
Center alignment options
-
corresponding raw value
Declaration
Swift
public let rawValue: UInt
-
center X
Declaration
Swift
public static let x: UIView.Center
-
center Y
Declaration
Swift
public static let y: UIView.Center
-
all (both center X and center Y)
Declaration
Swift
public static let all: Center
-
Creates the new
Center
option set from the given raw value.Declaration
Swift
public init(rawValue: UInt)
Parameters
rawValue
the raw value of
Center
option set to create