MBMScreenBox.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. @class MBMScreenCoordinate;
  4. /**
  5. * Describes the coordinate box on the screen, measured in `platform pixels`
  6. * from top to bottom and from left to right.
  7. */
  8. NS_SWIFT_NAME(ScreenBox)
  9. __attribute__((visibility ("default")))
  10. @interface MBMScreenBox : NSObject
  11. // This class provides custom init which should be called
  12. - (nonnull instancetype)init NS_UNAVAILABLE;
  13. // This class provides custom init which should be called
  14. + (nonnull instancetype)new NS_UNAVAILABLE;
  15. - (nonnull instancetype)initWithMin:(nonnull MBMScreenCoordinate *)min
  16. max:(nonnull MBMScreenCoordinate *)max;
  17. /** The screen coordinate close to the top left corner of the screen. */
  18. @property (nonatomic, readonly, nonnull) MBMScreenCoordinate *min;
  19. /** The screen coordinate close to the bottom right corner of the screen. */
  20. @property (nonatomic, readonly, nonnull) MBMScreenCoordinate *max;
  21. - (BOOL)isEqualToScreenBox:(nonnull MBMScreenBox *)other;
  22. @end