summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/mapkit/MKPolygon.inc
blob: 97a42b1265bc129168654c69bc0247cd3f919490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ Parsed from MapKit.framework MKPolygon.h }


{$ifdef TYPES}
type
  MKPolygonPtr = ^MKPolygon;
{$endif}

{$ifdef CLASSES}

type
  MKPolygon = objcclass external (MKMultiPoint, MKOverlayProtocol)
  public
    class function polygonWithPoints_count (points_: MKMapPointPtr; count: NSUInteger): instancetype; message 'polygonWithPoints:count:';
    class function polygonWithPoints_count_interiorPolygons (points_: MKMapPointPtr; count: NSUInteger; interiorPolygons: NSArray): instancetype; message 'polygonWithPoints:count:interiorPolygons:';
    class function polygonWithCoordinates_count (coords: CLLocationCoordinate2DPtr; count: NSUInteger): instancetype; message 'polygonWithCoordinates:count:';
    class function polygonWithCoordinates_count_interiorPolygons (coords: CLLocationCoordinate2DPtr; count: NSUInteger; interiorPolygons: NSArray): instancetype; message 'polygonWithCoordinates:count:interiorPolygons:';
    function interiorPolygons: NSArray; message 'interiorPolygons';

    { Adopted protocols }
    function boundingMapRect: MKMapRect; message 'boundingMapRect';
    function canReplaceMapContent: ObjCBOOL; message 'canReplaceMapContent'; { available in 10_9, 7_0 }
    function intersectsMapRect (mapRect: MKMapRect): ObjCBOOL; message 'intersectsMapRect:';
  end;
{$endif}