From 21d3023a9b7b6aff68c1170e345951396b1c6cfd Mon Sep 17 00:00:00 2001 From: 单军华 Date: Tue, 31 Jul 2018 13:35:21 +0800 Subject: [PATCH] no message --- screendisplay/screendisplay/Classes/Category/UIView+LMJNjHuFrame.h | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/screendisplay/screendisplay/Classes/Category/UIView+LMJNjHuFrame.h b/screendisplay/screendisplay/Classes/Category/UIView+LMJNjHuFrame.h new file mode 100755 index 0000000..6d88307 --- /dev/null +++ b/screendisplay/screendisplay/Classes/Category/UIView+LMJNjHuFrame.h @@ -0,0 +1,24 @@ +// +// UIView+LMJNjHuFrame.h +// PLMMPRJK +// +// Created by windshan on 2017/4/29. +// Copyright �� 2017��� GoMePrjk. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface UIView (LMJNjHuFrame) + +@property (nonatomic) CGFloat lmj_x; ///< Shortcut for frame.origin.x. +@property (nonatomic) CGFloat lmj_y; ///< Shortcut for frame.origin.y +@property (nonatomic) CGFloat lmj_right; ///< Shortcut for frame.origin.x + frame.size.width +@property (nonatomic) CGFloat lmj_bottom; ///< Shortcut for frame.origin.y + frame.size.height +@property (nonatomic) CGFloat lmj_width; ///< Shortcut for frame.size.width. +@property (nonatomic) CGFloat lmj_height; ///< Shortcut for frame.size.height. +@property (nonatomic) CGFloat lmj_centerX; ///< Shortcut for center.x +@property (nonatomic) CGFloat lmj_centerY; ///< Shortcut for center.y +@property (nonatomic) CGPoint lmj_origin; ///< Shortcut for frame.origin. +@property (nonatomic) CGSize lmj_size; ///< Shortcut for frame.size. + +@end -- Gitblit v1.8.0