Size
public struct Sizeextension Size: ComparableA structure that represents a two-dimensional size.
- 
                  
                  The width value of the size. DeclarationSwift public var width: Int
- 
                  
                  The height value of the size. DeclarationSwift public var height: Int
- 
                  
                  Creates a size with specified dimensions. DeclarationSwift public init(width: Int, height: Int)ParameterswidthThe width value of the size heightThe height value of the size 
- 
                  
                  Size whose width and height are both zero. DeclarationSwift public static let zero: Size
- 
                  
                  Creates a size with specified dimensions. DeclarationSwift public init(width: Int32, height: Int32)ParameterswidthThe width value of the size heightThe height value of the size 
- 
                  
                  Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument. This function is the only requirement of the Comparableprotocol. The remainder of the relational operator functions are implemented by the standard library for any type that conforms toComparable.DeclarationSwift public static func < (lhs: Size, rhs: Size) -> BoolParameterslhsA value to compare. rhsAnother value to compare. 
- 
                  
                  Returns a Boolean value indicating whether two values are equal. Equality is the inverse of inequality. For any values aandb,a == bimplies thata != bisfalse.DeclarationSwift public static func == (lhs: Size, rhs: Size) -> BoolParameterslhsA value to compare. rhsAnother value to compare. 
 View on GitHub
            View on GitHub
           Size Structure Reference
      Size Structure Reference