init(exactWidth:height:)
Creates a size with dimensions specified as floating-point values.
Declaration
init?<T>(exactWidth: T, height: T) where T : BinaryFloatingPointParameters
- exactWidth:
The width.
- height:
The height.
Discussion
The height and width must be greater than 0 and exactly representable as an Int value.