CPDFPolygonAnnotation Class Reference
| Inherits from | CPDFAnnotation : NSObject |
|---|---|
| Declared in | CPDFPolygonAnnotation.h |
Overview
A PDFAnnotationLine object displays a polygon on a page.
The setBorderWidth: method of the CPDFAnnotation class determines the stroke thickness. The setColor: method of the CPDFAnnotation class determines the stroke color.
savePoints
Method to get / set the all points of the line segment.
@property (nonatomic, assign) NSArray<NSValue*> *savePointsDiscussion
Method to get / set the all points of the line segment.
Page space is a coordinate system with the origin at the lower-left corner of the current page.
Declared In
CPDFPolygonAnnotation.h
interiorOpacity
Method to get / set the opacity used to fill the ornament at the ends of the line.
@property (nonatomic, assign) CGFloat interiorOpacityDiscussion
Method to get / set the opacity used to fill the ornament at the ends of the line.
The ornament at the end of a line is optional (for more information, see the Adobe PDF Specification 1.4).
Declared In
CPDFPolygonAnnotation.h
interiorColor
Method to get / set the color used to fill the ornament at the ends of the line.
@property (nonatomic, strong) CPDFKitPlatformColor *interiorColorDiscussion
Method to get / set the color used to fill the ornament at the ends of the line.
The ornament at the end of a line is optional (for more information, see the Adobe PDF Specification 1.4).
Declared In
CPDFPolygonAnnotation.h
– removeInteriorColor
remove interior Color(Set it to transparent, or set SetInteriorColor: to nil)
- (BOOL)removeInteriorColorDiscussion
remove interior Color(Set it to transparent, or set SetInteriorColor: to nil)
Declared In
CPDFPolygonAnnotation.h
isMeasure
Method to determine whether an annotation has measurement properties.
@property (nonatomic, assign, readonly) BOOL isMeasureDiscussion
Method to determine whether an annotation has measurement properties.
Declared In
CPDFPolygonAnnotation.h
cFont
Method to set the font name used for the annotation’s measure text field.
@property (nonatomic, strong) CPDFFont *cFontDiscussion
Method to set the font name used for the annotation’s measure text field.
Declared In
CPDFPolygonAnnotation.h
fontSize
Method to get the font size used for the annotation’s measure text field.
@property (nonatomic, assign) CGFloat fontSizeDiscussion
Method to get the font size used for the annotation’s measure text field.
Declared In
CPDFPolygonAnnotation.h
fontColor
Method to get / set the font color used in th measure text field of the annotation.
@property (nonatomic, strong) CPDFKitPlatformColor *fontColorDiscussion
Method to get / set the font color used in th measure text field of the annotation.
Declared In
CPDFPolygonAnnotation.h
measureInfo
Method to get the measure info of the annotation after added to page.
@property (nonatomic, strong) CPDFAreaMeasureInfo *measureInfoDiscussion
Method to get the measure info of the annotation after added to page.
The measurement properties of a annotation cannot be cleared by setting the measurement properties of the annotation to empty Set MeasureInfo: This information will not be effective until it is added to the page
Declared In
CPDFPolygonAnnotation.h
borderEffect
Method to get / set the used for border Effect drawing the annotation. Cloud border effect for setting annotation
@property (nonatomic, strong) CPDFBorderEffect *borderEffectDiscussion
Method to get / set the used for border Effect drawing the annotation. Cloud border effect for setting annotation
Declared In
CPDFPolygonAnnotation.h
polygonEncloseHandler
Method to get / set the used for border Effect drawing the annotation. If true, the parent view handles the vertices enclosed event; if false, the polygon savePoints Spot Encirclement Area itself handles the event Note: This property is for configuration purposes and will not affect the internal implementation of the SDK.
@property (nonatomic, readwrite) BOOL polygonEncloseHandlerDiscussion
Method to get / set the used for border Effect drawing the annotation. If true, the parent view handles the vertices enclosed event; if false, the polygon savePoints Spot Encirclement Area itself handles the event Note: This property is for configuration purposes and will not affect the internal implementation of the SDK.
Declared In
CPDFPolygonAnnotation.h