CPDFTextView.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // CPDFTextView.h
  3. // PDFViewer
  4. //
  5. // Created by kdan on 2022/11/16.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface CPDFTextView : UIView
  10. @property (nonatomic,strong) UIButton *colorBtn;
  11. @property (nonatomic,strong) UILabel *colorLabel;
  12. @property (nonatomic,strong) UISlider *textScaleSlider;
  13. @property (nonatomic,strong) UISlider *opacitySlider;
  14. @property (nonatomic,strong) UISwitch *tileSwitch;
  15. @property (nonatomic,strong) UILabel *rangeLabel;
  16. @property (nonatomic,strong) UILabel *tileLabel;
  17. @property (nonatomic,strong) UILabel *textLabel;
  18. @property (nonatomic,strong) UILabel *opacityLabel;
  19. @property (nonatomic,strong) UITextField *verticalField;
  20. @property (nonatomic,strong) UITextField *horizontalField;
  21. @property (nonatomic,strong) UILabel *verticalLabel;
  22. @property (nonatomic,strong) UILabel *horizontalLabel;
  23. @property (nonatomic,strong) UIButton *pageBtn;
  24. @property (nonatomic,strong) NSMutableArray *colorArray;
  25. - (void)createView;
  26. - (void)createFrame;
  27. - (void)assignData;
  28. @end
  29. NS_ASSUME_NONNULL_END