// // CAnnotationManage.h // ComPDFKit_Tools // // Copyright © 2014-2024 PDF Technologies, Inc. All Rights Reserved. // // THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW // AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT. // UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. // This notice may not be removed from this file. // #import #if __has_include() #import #else #import "CPDFListView.h" #endif NS_ASSUME_NONNULL_BEGIN @class CPDFListView; @class CAnnotStyle; @class CPDFAnnotation; @interface CAnnotationManage : NSObject @property (nonatomic, readonly) CPDFListView *pdfListView; @property (nonatomic, readonly) CAnnotStyle *annotStyle; - (instancetype)initWithPDFView:(CPDFListView *)pdfListView; - (void)setAnnotStyleFromAnnotations:(NSArray *)annotations; - (void)setAnnotStyleFromMode:(CPDFViewAnnotationMode)annotationMode; - (void)refreshPageWithAnnotations:(NSArray *)annotations; /** * Get the default color of highlight annotations. */ + (UIColor *)highlightAnnotationColor; /** * Get the default color of underline annotations. */ + (UIColor *)underlineAnnotationColor; /** * Get the default color of strikeout annotations. */ + (UIColor *)strikeoutAnnotationColor; /** * Get the default color of squiggly annotations. */ + (UIColor *)squigglyAnnotationColor; /** * Get the default color of freehand annotations. */ + (UIColor *)freehandAnnotationColor; @end NS_ASSUME_NONNULL_END