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/YYTextSelectionView.h |   78 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 78 insertions(+), 0 deletions(-)

diff --git a/screendisplay/Pods/YYText/YYText/Component/YYTextSelectionView.h b/screendisplay/Pods/YYText/YYText/Component/YYTextSelectionView.h
new file mode 100755
index 0000000..be5f38e
--- /dev/null
+++ b/screendisplay/Pods/YYText/YYText/Component/YYTextSelectionView.h
@@ -0,0 +1,78 @@
+//
+//  YYTextSelectionView.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>
+#import <YYText/YYTextInput.h>
+#else
+#import "YYTextAttribute.h"
+#import "YYTextInput.h"
+#endif
+
+NS_ASSUME_NONNULL_BEGIN
+
+/**
+ A single dot view. The frame should be foursquare.
+ Change the background color for display.
+ 
+ @discussion Typically, you should not use this class directly.
+ */
+@interface YYSelectionGrabberDot : UIView
+/// Dont't access this property. It was used by `YYTextEffectWindow`.
+@property (nonatomic, strong) UIView *mirror;
+@end
+
+
+/**
+ A grabber (stick with a dot).
+ 
+ @discussion Typically, you should not use this class directly.
+ */
+@interface YYSelectionGrabber : UIView
+
+@property (nonatomic, readonly) YYSelectionGrabberDot *dot; ///< the dot view
+@property (nonatomic) YYTextDirection dotDirection;         ///< don't support composite direction
+@property (nullable, nonatomic, strong) UIColor *color;     ///< tint color, default is nil
+
+@end
+
+
+/**
+ The selection view for text edit and select.
+ 
+ @discussion Typically, you should not use this class directly.
+ */
+@interface YYTextSelectionView : UIView
+
+@property (nullable, nonatomic, weak) UIView *hostView; ///< the holder view
+@property (nullable, nonatomic, strong) UIColor *color; ///< the tint color
+@property (nonatomic, getter = isCaretBlinks) BOOL caretBlinks; ///< whether the caret is blinks
+@property (nonatomic, getter = isCaretVisible) BOOL caretVisible; ///< whether the caret is visible
+@property (nonatomic, getter = isVerticalForm) BOOL verticalForm; ///< weather the text view is vertical form
+
+@property (nonatomic) CGRect caretRect; ///< caret rect (width==0 or height==0)
+@property (nullable, nonatomic, copy) NSArray<YYTextSelectionRect *> *selectionRects; ///< default is nil
+
+@property (nonatomic, readonly) UIView *caretView;
+@property (nonatomic, readonly) YYSelectionGrabber *startGrabber;
+@property (nonatomic, readonly) YYSelectionGrabber *endGrabber;
+
+- (BOOL)isGrabberContainsPoint:(CGPoint)point;
+- (BOOL)isStartGrabberContainsPoint:(CGPoint)point;
+- (BOOL)isEndGrabberContainsPoint:(CGPoint)point;
+- (BOOL)isCaretContainsPoint:(CGPoint)point;
+- (BOOL)isSelectionRectsContainsPoint:(CGPoint)point;
+
+@end
+
+NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0