CPDFInkAnnotation.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. //
  2. // CPDFInkAnnotation.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2023 PDF Technologies, Inc. All Rights Reserved.
  6. //
  7. // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
  8. // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT.
  9. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
  10. // This notice may not be removed from this file.
  11. //
  12. #import <ComPDFKit/CPDFAnnotation.h>
  13. /**
  14. * A CPDFInkAnnotation object displays one or more disjoint paths on a page. This is typically used to represent a freehand jotting or “scribble” of handwritten text.
  15. *
  16. * @discussion The setBorderWidth: method of the CPDFAnnotation class determines the stroke thickness.
  17. * The setColor: method of the CPDFAnnotation class determines the stroke color.
  18. */
  19. @interface CPDFInkAnnotation : CPDFAnnotation
  20. /**
  21. * Method to get / set an array containing the points that make up an annotation.
  22. */
  23. @property (nonatomic,retain) NSArray<NSArray *> *paths;
  24. @end