init(x:y:width:height:)
Creates a new map rectangle structure from the specified values.
Declaration
init(x: Double, y: Double, width: Double, height: Double)Parameters
- x:
The point along the east-west axis of the map projection to use for the origin.
- y:
The point along the north-south axis of the map projection to use for the origin.
- width:
The width of the rectangle (measured using map points).
- height:
The height of the rectangle (measured using map points).
Return Value
A map rectangle with the specified values.