Package org.robovm.apple.mapkit
Class MKPolyline
- 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.MKMultiPoint
-
- org.robovm.apple.mapkit.MKPolyline
-
- All Implemented Interfaces:
NSObjectProtocol
,MKAnnotation
,MKOverlay
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
MKGeodesicPolyline
public class MKPolyline extends MKMultiPoint implements MKOverlay
- Since:
- Available in iOS 4.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKPolyline.MKPolylinePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.mapkit.MKMultiPoint
MKMultiPoint.MKMultiPointPtr
-
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 MKPolyline()
protected
MKPolyline(long handle)
Deprecated.MKPolyline(CLLocationCoordinate2D[] coords)
protected
MKPolyline(NSObject.Handle h, long handle)
protected
MKPolyline(NSObject.SkipInit skipInit)
MKPolyline(MKMapPoint[] points)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canReplaceMapContent()
MKMapRect
getBoundingMapRect()
CLLocationCoordinate2D
getCoordinate()
boolean
intersects(MKMapRect mapRect)
-
Methods inherited from class org.robovm.apple.mapkit.MKMultiPoint
getCoordinates, getCoordinates0, getPointCount, getPoints, getPoints0
-
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
-
MKPolyline
public MKPolyline()
-
MKPolyline
@Deprecated protected MKPolyline(long handle)
Deprecated.
-
MKPolyline
protected MKPolyline(NSObject.Handle h, long handle)
-
MKPolyline
protected MKPolyline(NSObject.SkipInit skipInit)
-
MKPolyline
public MKPolyline(MKMapPoint[] points)
-
MKPolyline
public MKPolyline(CLLocationCoordinate2D[] coords)
-
-
Method Detail
-
getCoordinate
public CLLocationCoordinate2D getCoordinate()
- Specified by:
getCoordinate
in interfaceMKAnnotation
- Specified by:
getCoordinate
in interfaceMKOverlay
- Overrides:
getCoordinate
in classMKShape
-
getBoundingMapRect
public MKMapRect getBoundingMapRect()
- Specified by:
getBoundingMapRect
in interfaceMKOverlay
-
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.
-
-