CPDFSquareAnnotation.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // CPDFSquareAnnotation.h
  3. // ComPDFKit
  4. //
  5. // Copyright © 2014-2022 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 CPDFSquareAnnotation object displays a rectangle on a page.
  15. *
  16. * @discussion Square annotations are like circle annotations (instances of the CPDFCircleAnnotation class) apart from the shape.
  17. * The setBorderWidth: method of the CPDFAnnotation class determines the stroke thickness.
  18. * The setColor: method of the CPDFAnnotation class determines the stroke color.
  19. */
  20. @interface CPDFSquareAnnotation : CPDFAnnotation
  21. /**
  22. * Method to get / set the fill opacity used for drawing the annotation.
  23. */
  24. @property (nonatomic,assign) CGFloat interiorOpacity;
  25. /**
  26. * Method to get / set the fill color used for drawing the annotation.
  27. */
  28. @property (nonatomic,retain) CPDFKitPlatformColor *interiorColor;
  29. @end