CPDFSquareAnnotation Class Reference

Inherits from CPDFAnnotation : NSObject
Declared in CPDFSquareAnnotation.h

Overview

A CPDFSquareAnnotation object displays a rectangle on a page.

Square annotations are like circle annotations (instances of the CPDFCircleAnnotation class) apart from the shape. The setBorderWidth: method of the CPDFAnnotation class determines the stroke thickness. The setColor: method of the CPDFAnnotation class determines the stroke color.

  interiorOpacity

Method to get / set the fill opacity used for drawing the annotation.

@property (nonatomic, assign) CGFloat interiorOpacity

Discussion

Method to get / set the fill opacity used for drawing the annotation.

Declared In

CPDFSquareAnnotation.h

  interiorColor

Method to get / set the fill color used for drawing the annotation.

@property (nonatomic, strong) CPDFKitPlatformColor *interiorColor

Discussion

Method to get / set the fill color used for drawing the annotation.

Declared In

CPDFSquareAnnotation.h

– removeInteriorColor

remove interior Color(Set it to transparent, or set SetInteriorColor: to nil)

- (BOOL)removeInteriorColor

Discussion

remove interior Color(Set it to transparent, or set SetInteriorColor: to nil)

Declared In

CPDFSquareAnnotation.h

  borderEffect

Method to get / set the used for border Effect drawing the annotation. Cloud border effect for setting annotation

@property (nonatomic, strong) CPDFBorderEffect *borderEffect

Discussion

Method to get / set the used for border Effect drawing the annotation. Cloud border effect for setting annotation

Declared In

CPDFSquareAnnotation.h