public final class MKMapRect extends Object
Constructor and Description |
---|
MKMapRect(double x,
double y,
double width,
double height)
Constructs a MKMapRect object with the specified parameters values.
|
Modifier and Type | Method and Description |
---|---|
MKMapPoint |
getOrigin() |
MKMapSize |
getSize() |
void |
setOrigin(MKMapPoint origin) |
void |
setSize(MKMapSize size) |
public MKMapRect(double x, double y, double width, double height)
x
- The x-coordinate of the rectangular area.y
- The y-coordinate of the rectangular area.width
- The width of the rectangular area.height
- The height of the rectangular area.public MKMapPoint getOrigin()
public void setOrigin(MKMapPoint origin)
public MKMapSize getSize()
public void setSize(MKMapSize size)
Copyright © 2020. All rights reserved.