CPDFLineAnnotation Class Reference
Inherits from | CPDFAnnotation : NSObject |
---|---|
Declared in | CPDFLineAnnotation.h |
Overview
A PDFAnnotationLine object displays a single line 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.
startPoint
Method to get / set the starting point for the line, in page space.
@property (nonatomic, assign) CGPoint startPoint
Discussion
Method to get / set the starting point for the line, in page space.
Page space is a coordinate system with the origin at the lower-left corner of the current page.
Declared In
CPDFLineAnnotation.h
endPoint
Method to get / set the ending point for the line in page space.
@property (nonatomic, assign) CGPoint endPoint
Discussion
Method to get / set the ending point for the line in page space.
Page space is a coordinate system with the origin at the lower-left corner of the current page.
Declared In
CPDFLineAnnotation.h
startLineStyle
Method to get / set the line ending style for the starting point of the line.
@property (nonatomic, assign) CPDFLineStyle startLineStyle
Discussion
Method to get / set the line ending style for the starting point of the line.
See Also
Declared In
CPDFLineAnnotation.h
endLineStyle
Method to get / set the line ending style for the ending point of the line.
@property (nonatomic, assign) CPDFLineStyle endLineStyle
Discussion
Method to get / set the line ending style for the ending point of the line.
See Also
Declared In
CPDFLineAnnotation.h
interiorOpacity
Method to get / set the opacity used to fill the ornament at the ends of the line.
@property (nonatomic, assign) CGFloat interiorOpacity
Discussion
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
CPDFLineAnnotation.h
interiorColor
Method to get / set the color used to fill the ornament at the ends of the line.
@property (nonatomic, strong) CPDFKitPlatformColor *interiorColor
Discussion
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
CPDFLineAnnotation.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
CPDFLineAnnotation.h
isMeasure
Method to determine whether an annotation has measurement properties.
@property (nonatomic, assign, readonly) BOOL isMeasure
Discussion
Method to determine whether an annotation has measurement properties.
Declared In
CPDFLineAnnotation.h
cFont
Method to set the font used for the annotation’s measure text field.
@property (nonatomic, strong) CPDFFont *cFont
Discussion
Method to set the font used for the annotation’s measure text field.
Declared In
CPDFLineAnnotation.h
fontSize
Method to get the font size used for the annotation’s measure text field.
@property (nonatomic, assign) CGFloat fontSize
Discussion
Method to get the font size used for the annotation’s measure text field.
Declared In
CPDFLineAnnotation.h
fontColor
Method to get / set the font color used in the measure text field of the annotation.
@property (nonatomic, strong) CPDFKitPlatformColor *fontColor
Discussion
Method to get / set the font color used in the measure text field of the annotation.
Declared In
CPDFLineAnnotation.h
measureInfo
Method to get / set the measure info of the annotation after added to page.
@property (nonatomic, strong) CPDFDistanceMeasureInfo *measureInfo
Discussion
Method to get / set 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
CPDFLineAnnotation.h