Package org.robovm.apple.mapkit
Class MKPolygon
- All Implemented Interfaces:
NSObjectProtocol,MKAnnotation,MKGeoJSONObject,MKOverlay,ObjCProtocol
public class MKPolygon extends MKMultiPoint implements MKOverlay, MKGeoJSONObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMKPolygon.MKPolygonPtrNested classes/interfaces inherited from class org.robovm.apple.mapkit.MKMultiPoint
MKMultiPoint.MKMultiPointPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description MKPolygon()MKPolygon(CLLocationCoordinate2D[] coords)MKPolygon(CLLocationCoordinate2D[] coords, NSArray<MKPolygon> interiorPolygons)protectedMKPolygon(NSObject.Handle h, long handle)protectedMKPolygon(NSObject.SkipInit skipInit)MKPolygon(MKMapPoint[] points)MKPolygon(MKMapPoint[] points, NSArray<MKPolygon> interiorPolygons) -
Method Summary
Modifier and Type Method Description booleancanReplaceMapContent()MKMapRectgetBoundingMapRect()CLLocationCoordinate2DgetCoordinate()NSArray<MKPolygon>getInteriorPolygons()booleanintersects(MKMapRect mapRect)Methods inherited from class org.robovm.apple.mapkit.MKMultiPoint
getCoordinates, getCoordinates0, getPointCount, getPoints, getPoints0, locationAtPointIndex, locationsAtPointIndexesMethods inherited from class org.robovm.apple.mapkit.MKShape
getSubtitle, getTitle, setCoordinate, setSubtitle, setTitleMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from interface org.robovm.apple.mapkit.MKAnnotation
getSubtitle, getTitle, setCoordinate
-
Constructor Details
-
Method Details
-
getInteriorPolygons
-
getCoordinate
- Specified by:
getCoordinatein interfaceMKAnnotation- Specified by:
getCoordinatein interfaceMKOverlay- Overrides:
getCoordinatein classMKShape
-
getBoundingMapRect
- Specified by:
getBoundingMapRectin interfaceMKOverlay
-
intersects
- Specified by:
intersectsin interfaceMKOverlay
-
canReplaceMapContent
public boolean canReplaceMapContent()- Specified by:
canReplaceMapContentin interfaceMKOverlay
-