MBMScreenBox
@interface MBMScreenBox : NSObject
Describes the coordinate box on the screen, measured in platform pixels
from top to bottom and from left to right.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithMin:(nonnull MBMScreenCoordinate *)min max:(nonnull MBMScreenCoordinate *)max;
Swift
init(min: MBMScreenCoordinate, max: MBMScreenCoordinate)
-
The screen coordinate close to the top left corner of the screen.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMScreenCoordinate *min;
Swift
var min: MBMScreenCoordinate { get }
-
The screen coordinate close to the bottom right corner of the screen.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMScreenCoordinate *max;
Swift
var max: MBMScreenCoordinate { get }
-
Undocumented
Declaration
Objective-C
- (BOOL)isEqualToScreenBox:(nonnull MBMScreenBox *)other;
Swift
func isEqual(to other: ScreenBox) -> Bool