Size
public struct Size : Hashable
A structure that contains width and height values.
-
The width value
Declaration
Swift
public let width: Double
-
The height value
Declaration
Swift
public let height: Double
-
Creates a size with dimensions specified as floating-point values.
Declaration
Swift
public init(width: Double, height: Double)
-
Returns a CGSize object
Declaration
Swift
public var cgSize: CGSize { get }
-
Returns a NSSize object
Declaration
Swift
public var nsSize: NSSize { get }