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