Size2D
public struct Size2D : Hashable
Represents the size of a 2D structure.
-
The width represents the size along the X axis. Default is 0.0.
Declaration
Swift
public var width: Double -
The height represents the size along the Y axis. Default is 0.0.
Declaration
Swift
public var height: Double -
Creates a new instance.
Declaration
Swift
public init(width: Double = 0.0, height: Double = 0.0)