PDFBorder.inc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. { Parsed from PDFKit.framework PDFBorder.h }
  2. {$ifdef TYPES}
  3. type
  4. PDFBorderPtr = ^PDFBorder;
  5. {$endif}
  6. {$ifdef TYPES}
  7. type
  8. PDFBorderStyle = NSInteger;
  9. PDFBorderStylePtr = ^PDFBorderStyle;
  10. const
  11. kPDFBorderStyleSolid = 0;
  12. kPDFBorderStyleDashed = 1;
  13. kPDFBorderStyleBeveled = 2;
  14. kPDFBorderStyleInset = 3;
  15. kPDFBorderStyleUnderline = 4;
  16. {$endif}
  17. {$ifdef CLASSES}
  18. type
  19. PDFBorder = objcclass external (NSObject, NSCopyingProtocol, NSCodingProtocol)
  20. private
  21. _pdfPriv: PDFBorderPrivateVars;
  22. public
  23. function style: PDFBorderStyle; message 'style';
  24. procedure setStyle (style_: PDFBorderStyle); message 'setStyle:';
  25. function lineWidth: CGFloat; message 'lineWidth';
  26. procedure setLineWidth (width: CGFloat); message 'setLineWidth:';
  27. function dashPattern: NSArray; message 'dashPattern';
  28. procedure setDashPattern (pattern: NSArray); message 'setDashPattern:';
  29. procedure drawInRect (rect: NSRect); message 'drawInRect:';
  30. { Adopted protocols }
  31. function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
  32. procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
  33. function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
  34. end;
  35. {$endif}