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


{$ifdef TYPES}
type
  MKPolylinePtr = ^MKPolyline;
{$endif}

{$ifdef CLASSES}

type
  MKPolyline = objcclass external (MKMultiPoint, MKOverlayProtocol)
  public
    class function polylineWithPoints_count (points_: MKMapPointPtr; count: NSUInteger): instancetype; message 'polylineWithPoints:count:';
    class function polylineWithCoordinates_count (coords: CLLocationCoordinate2DPtr; count: NSUInteger): instancetype; message 'polylineWithCoordinates:count:';

    { 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}