Package org.robovm.apple.mapkit
Class MKCircle
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.mapkit.MKShape
-
- org.robovm.apple.mapkit.MKCircle
-
- All Implemented Interfaces:
NSObjectProtocol
,MKAnnotation
,MKOverlay
,org.robovm.objc.ObjCProtocol
public class MKCircle extends MKShape implements MKOverlay
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKCircle.MKCirclePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.mapkit.MKShape
MKShape.MKShapePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MKCircle()
MKCircle(CLLocationCoordinate2D coord, double radius)
protected
MKCircle(NSObject.Handle h, long handle)
protected
MKCircle(NSObject.SkipInit skipInit)
MKCircle(MKMapRect mapRect)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canReplaceMapContent()
protected static long
create(CLLocationCoordinate2D coord, double radius)
protected static long
create(MKMapRect mapRect)
MKMapRect
getBoundingMapRect()
CLLocationCoordinate2D
getCoordinate()
double
getRadius()
boolean
intersects(MKMapRect mapRect)
-
Methods inherited from class org.robovm.apple.mapkit.MKShape
getSubtitle, getTitle, setCoordinate, setSubtitle, setTitle
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.mapkit.MKAnnotation
getSubtitle, getTitle, setCoordinate
-
-
-
-
Constructor Detail
-
MKCircle
public MKCircle()
-
MKCircle
protected MKCircle(NSObject.Handle h, long handle)
-
MKCircle
protected MKCircle(NSObject.SkipInit skipInit)
-
MKCircle
public MKCircle(CLLocationCoordinate2D coord, double radius)
-
MKCircle
public MKCircle(MKMapRect mapRect)
-
-
Method Detail
-
getCoordinate
public CLLocationCoordinate2D getCoordinate()
- Specified by:
getCoordinate
in interfaceMKAnnotation
- Specified by:
getCoordinate
in interfaceMKOverlay
- Overrides:
getCoordinate
in classMKShape
-
getRadius
public double getRadius()
-
getBoundingMapRect
public MKMapRect getBoundingMapRect()
- Specified by:
getBoundingMapRect
in interfaceMKOverlay
-
create
protected static long create(CLLocationCoordinate2D coord, double radius)
-
create
protected static long create(MKMapRect mapRect)
-
intersects
public boolean intersects(MKMapRect mapRect)
- Specified by:
intersects
in interfaceMKOverlay
-
canReplaceMapContent
public boolean canReplaceMapContent()
- Specified by:
canReplaceMapContent
in interfaceMKOverlay
- Since:
- Available in iOS 7.0 and later.
-
-