From 7b02207537d35bfa1714bf8beafc921f717d100a Mon Sep 17 00:00:00 2001
From: 单军华
Date: Wed, 11 Jul 2018 10:47:42 +0800
Subject: [PATCH] 首次上传
---
screendisplay/Pods/YYText/YYText/Component/YYTextMagnifier.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/screendisplay/Pods/YYText/YYText/Component/YYTextMagnifier.h b/screendisplay/Pods/YYText/YYText/Component/YYTextMagnifier.h
new file mode 100755
index 0000000..adf131b
--- /dev/null
+++ b/screendisplay/Pods/YYText/YYText/Component/YYTextMagnifier.h
@@ -0,0 +1,52 @@
+//
+// YYTextMagnifier.h
+// YYText <https://github.com/ibireme/YYText>
+//
+// Created by ibireme on 15/2/25.
+// Copyright (c) 2015 ibireme.
+//
+// This source code is licensed under the MIT-style license found in the
+// LICENSE file in the root directory of this source tree.
+//
+
+#import <UIKit/UIKit.h>
+
+#if __has_include(<YYText/YYText.h>)
+#import <YYText/YYTextAttribute.h>
+#else
+#import "YYTextAttribute.h"
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// Magnifier type
+typedef NS_ENUM(NSInteger, YYTextMagnifierType) {
+ YYTextMagnifierTypeCaret, ///< Circular magnifier
+ YYTextMagnifierTypeRanged, ///< Round rectangle magnifier
+};
+
+/**
+ A magnifier view which can be displayed in `YYTextEffectWindow`.
+
+ @discussion Use `magnifierWithType:` to create instance.
+ Typically, you should not use this class directly.
+ */
+@interface YYTextMagnifier : UIView
+
+/// Create a mangifier with the specified type. @param type The magnifier type.
++ (id)magnifierWithType:(YYTextMagnifierType)type;
+
+@property (nonatomic, readonly) YYTextMagnifierType type; ///< Type of magnifier
+@property (nonatomic, readonly) CGSize fitSize; ///< The 'best' size for magnifier view.
+@property (nonatomic, readonly) CGSize snapshotSize; ///< The 'best' snapshot image size for magnifier.
+@property (nullable, nonatomic, strong) UIImage *snapshot; ///< The image in magnifier (readwrite).
+
+@property (nullable, nonatomic, weak) UIView *hostView; ///< The coordinate based view.
+@property (nonatomic) CGPoint hostCaptureCenter; ///< The snapshot capture center in `hostView`.
+@property (nonatomic) CGPoint hostPopoverCenter; ///< The popover center in `hostView`.
+@property (nonatomic) BOOL hostVerticalForm; ///< The host view is vertical form.
+@property (nonatomic) BOOL captureDisabled; ///< A hint for `YYTextEffectWindow` to disable capture.
+@property (nonatomic) BOOL captureFadeAnimation; ///< Show fade animation when the snapshot image changed.
+@end
+
+NS_ASSUME_NONNULL_END
--
Gitblit v1.8.0