init(width:height:)
Creates a size with dimensions specified as integer values.
Declaration
init(width: Int, height: Int)Parameters
- width:
The width.
- height:
The height.
Discussion
The height and width must be greater than 0.
Creates a size with dimensions specified as integer values.
init(width: Int, height: Int)The width.
The height.
The height and width must be greater than 0.