MBMEdgeInsets.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /**
  4. * The distance on each side between rectangles, when one is contained into other.
  5. *
  6. * All fields' values are in `platform pixel` units.
  7. */
  8. NS_SWIFT_NAME(EdgeInsets)
  9. __attribute__((visibility ("default")))
  10. @interface MBMEdgeInsets : 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)initWithTop:(double)top
  16. left:(double)left
  17. bottom:(double)bottom
  18. right:(double)right;
  19. /** Padding from the top. */
  20. @property (nonatomic, readonly) double top;
  21. /** Padding from the left. */
  22. @property (nonatomic, readonly) double left;
  23. /** Padding from the bottom. */
  24. @property (nonatomic, readonly) double bottom;
  25. /** Padding from the right. */
  26. @property (nonatomic, readonly) double right;
  27. - (BOOL)isEqualToEdgeInsets:(nonnull MBMEdgeInsets *)other;
  28. @end