init?<T>(exactWidth: T, height: T) where T : BinaryFloatingPoint
Creates a size with dimensions specified as `BinaryFloatingPoint`values.
- Parameter width: The width.
- Parameter height: The height.
- Precondition: `width` and `height` must be greater than `0` and
exactly representable as `Int`.
init?<T>(exactWidth: T, height: T) where T : BinaryInteger
Creates a size with dimensions specified as `BinaryInteger`values.
- Parameter width: The width.
- Parameter height: The height.
- Precondition: `width` and `height` must be greater than `0` and
exactly representable as `Int`.
Creates a size with dimensions specified as integer values.
- Parameter width: The width.
- Parameter height: The height.
- Precondition: `width` and `height` must be greater than `0`.
Creates a size with dimensions specified as a `CGSize` structure.
- Parameter size: The size.
- Parameter height: The height.
- Precondition: The size dimensions must be exacly representable as `Int` types that are greater than `0`.