YMKScreenRect
@interface YMKScreenRect : NSObject |
A rectangle on the device screen.
Summary
Class methods
+ (nonnull YMKScreenRect *)screenRectWithTopLeft:(nonnull YMKScreenPoint *)topLeft |
Properties
@property (nonatomic, readonly, nonnull) YMKScreenPoint *topLeft; |
@property (nonatomic, readonly, nonnull) YMKScreenPoint *bottomRight; |
Class methods
screenRectWithTopLeft:bottomRight:
+ (nonnull YMKScreenRect *)screenRectWithTopLeft:(nonnull YMKScreenPoint *)topLeft |
Properties
topLeft
@property (nonatomic, readonly, nonnull) YMKScreenPoint *topLeft; |
The position of the top left corner of the rectangle.
bottomRight
@property (nonatomic, readonly, nonnull) YMKScreenPoint *bottomRight; |
The position of the bottom right corner of the rectangle.