CPDFCircleAnnotation.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // CPDFCircleAnnotation.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 CPDFCircleAnnotation object displays an ellipse on a page.
  15. *
  16. * @discussion Circle annotations are like square annotations (instances of the CPDFSquareAnnotation 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 CPDFCircleAnnotation : 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