blob: 7615715803f37e1861f03f82024db77faaeaeb2a (
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
|
{ Parsed from PDFKit.framework PDFBorder.h }
{$ifdef TYPES}
type
PDFBorderPtr = ^PDFBorder;
{$endif}
{$ifdef TYPES}
type
PDFBorderStyle = NSInteger;
PDFBorderStylePtr = ^PDFBorderStyle;
const
kPDFBorderStyleSolid = 0;
kPDFBorderStyleDashed = 1;
kPDFBorderStyleBeveled = 2;
kPDFBorderStyleInset = 3;
kPDFBorderStyleUnderline = 4;
{$endif}
{$ifdef CLASSES}
type
PDFBorder = objcclass external (NSObject, NSCopyingProtocol, NSCodingProtocol)
private
_pdfPriv: PDFBorderPrivateVars;
public
function style: PDFBorderStyle; message 'style';
procedure setStyle (style_: PDFBorderStyle); message 'setStyle:';
function lineWidth: CGFloat; message 'lineWidth';
procedure setLineWidth (width: CGFloat); message 'setLineWidth:';
function dashPattern: NSArray; message 'dashPattern';
procedure setDashPattern (pattern: NSArray); message 'setDashPattern:';
procedure drawInRect (rect: NSRect); message 'drawInRect:';
{ Adopted protocols }
function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
end;
{$endif}
|