summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/pdfkit/PDFAnnotationLine.inc
blob: 912e1ed80f82089df433caab8f7ddd8d4b2905f0 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ Parsed from PDFKit.framework PDFAnnotationLine.h }


{ Types from PDFAnnotationLine }
{$ifdef TYPES}

{$endif}


{$ifdef TYPES}
type
  PDFAnnotationLinePtr = ^PDFAnnotationLine;
{$endif}

{$ifdef TYPES}
type
  PDFLineStyle = NSInteger;
  PDFLineStylePtr = ^PDFLineStyle;

const
  kPDFLineStyleNone = 0;
  kPDFLineStyleSquare = 1;
  kPDFLineStyleCircle = 2;
  kPDFLineStyleDiamond = 3;
  kPDFLineStyleOpenArrow = 4;
  kPDFLineStyleClosedArrow = 5;
{$endif}

{$ifdef CLASSES}

type
  PDFAnnotationLine = objcclass external (PDFAnnotation, NSCopyingProtocol, NSCodingProtocol)
  private
    _pdfPriv2: PDFAnnotationLinePrivateVars;
  public
    function startPoint: NSPoint; message 'startPoint';
    procedure setStartPoint (point: NSPoint); message 'setStartPoint:';
    function endPoint: NSPoint; message 'endPoint';
    procedure setEndPoint (point: NSPoint); message 'setEndPoint:';
    function startLineStyle: PDFLineStyle; message 'startLineStyle';
    procedure setStartLineStyle (style: PDFLineStyle); message 'setStartLineStyle:';
    function endLineStyle: PDFLineStyle; message 'endLineStyle';
    procedure setEndLineStyle (style: PDFLineStyle); message 'setEndLineStyle:';
    {$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
    function interiorColor: NSColor; message 'interiorColor';
    procedure setInteriorColor (color_: NSColor); message 'setInteriorColor:';
    {$endif}
  end;
{$endif}