Package org.robovm.apple.mapkit
Class MKMapRect
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<MKMapRect>
-
- org.robovm.apple.mapkit.MKMapRect
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKMapRect.MKMapRectPtr
-
Constructor Summary
Constructors Constructor Description MKMapRect()
MKMapRect(double x, double y, double width, double height)
MKMapRect(MKMapPoint origin, MKMapSize size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(MKMapPoint point)
boolean
contains(MKMapRect rect2)
void
divide(MKMapRect slice, MKMapRect remainder, double amount, CGRectEdge edge)
boolean
equals(java.lang.Object obj)
boolean
equalsTo(MKMapRect other)
double
getHeight()
double
getMaxX()
double
getMaxY()
double
getMidX()
double
getMidY()
double
getMinX()
double
getMinY()
MKMapPoint
getOrigin()
MKMapSize
getSize()
double
getWidth()
MKMapRect
inset(double dx, double dy)
MKMapRect
intersection(MKMapRect rect2)
boolean
intersects(MKMapRect rect2)
boolean
isEmpty()
boolean
isNull()
boolean
isSpanning180thMeridian()
static MKMapRect
Null()
MKMapRect
offset(double dx, double dy)
MKMapRect
remainder()
MKMapRect
setOrigin(MKMapPoint origin)
MKMapRect
setSize(MKMapSize size)
java.lang.String
toString()
MKMapRect
union(MKMapRect rect2)
static MKMapRect
World()
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Constructor Detail
-
MKMapRect
public MKMapRect()
-
MKMapRect
public MKMapRect(MKMapPoint origin, MKMapSize size)
-
MKMapRect
public MKMapRect(double x, double y, double width, double height)
-
-
Method Detail
-
getOrigin
public MKMapPoint getOrigin()
-
setOrigin
public MKMapRect setOrigin(MKMapPoint origin)
-
getSize
public MKMapSize getSize()
-
getMinX
public double getMinX()
-
getMinY
public double getMinY()
-
getMidX
public double getMidX()
-
getMidY
public double getMidY()
-
getMaxX
public double getMaxX()
-
getMaxY
public double getMaxY()
-
getWidth
public double getWidth()
-
getHeight
public double getHeight()
-
equalsTo
public boolean equalsTo(MKMapRect other)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classorg.robovm.rt.bro.NativeObject
-
isNull
public boolean isNull()
-
isEmpty
public boolean isEmpty()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
World
public static MKMapRect World()
- Since:
- Available in iOS 4.0 and later.
-
Null
public static MKMapRect Null()
- Since:
- Available in iOS 4.0 and later.
-
inset
public MKMapRect inset(double dx, double dy)
- Since:
- Available in iOS 4.0 and later.
-
offset
public MKMapRect offset(double dx, double dy)
- Since:
- Available in iOS 4.0 and later.
-
divide
public void divide(MKMapRect slice, MKMapRect remainder, double amount, CGRectEdge edge)
- Since:
- Available in iOS 4.0 and later.
-
contains
public boolean contains(MKMapPoint point)
- Since:
- Available in iOS 4.0 and later.
-
contains
public boolean contains(MKMapRect rect2)
- Since:
- Available in iOS 4.0 and later.
-
intersects
public boolean intersects(MKMapRect rect2)
- Since:
- Available in iOS 4.0 and later.
-
isSpanning180thMeridian
public boolean isSpanning180thMeridian()
- Since:
- Available in iOS 4.0 and later.
-
remainder
public MKMapRect remainder()
- Since:
- Available in iOS 4.0 and later.
-
-