CPDFTextProperty.h 958 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // CPDFTextProperty.h
  3. // ComPDFKit_Tools
  4. //
  5. // Copyright © 2014-2024 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. //
  11. #import <Foundation/Foundation.h>
  12. #import <UIKit/UIKit.h>
  13. NS_ASSUME_NONNULL_BEGIN
  14. @interface CPDFTextProperty : NSObject
  15. + (CPDFTextProperty *)sharedManager;
  16. @property (nonatomic, strong) UIColor *fontColor;
  17. @property (nonatomic, assign) CGFloat textOpacity;
  18. @property (nonatomic, strong) NSString *fontName;
  19. @property (nonatomic, assign) BOOL isBold;
  20. @property (nonatomic, assign) BOOL isItalic;
  21. @property (nonatomic, assign) CGFloat fontSize;
  22. @property (nonatomic, assign) NSTextAlignment textAlignment;
  23. @end
  24. NS_ASSUME_NONNULL_END