MMKVisibleRegion

@interface MMKVisibleRegion : NSObject

Defines the visible region.

Summary

Class methods

+ (nonnull MMKVisibleRegion *)visibleRegionWithTopLeft:(nonnull MMKPoint *)topLeft
                                              topRight:(nonnull MMKPoint *)topRight
                                            bottomLeft:(nonnull MMKPoint *)bottomLeft
                                           bottomRight:(nonnull MMKPoint *)bottomRight;

Properties

@property (nonatomic, readonly, nonnull) MMKPoint *topLeft;
Top-left of the visible region

@property (nonatomic, readonly, nonnull) MMKPoint *topRight;
Top-right of the visible region

@property (nonatomic, readonly, nonnull) MMKPoint *bottomLeft;
Bottom-left of the visible region

@property (nonatomic, readonly, nonnull) MMKPoint *bottomRight;
Bottom-right of the visible region

Class methods

visibleRegionWithTopLeft:topRight:bottomLeft:bottomRight:

+ (nonnull MMKVisibleRegion *)visibleRegionWithTopLeft:(nonnull MMKPoint *)topLeft
                                              topRight:(nonnull MMKPoint *)topRight
                                            bottomLeft:(nonnull MMKPoint *)bottomLeft
                                           bottomRight:(nonnull MMKPoint *)bottomRight;


Properties

topLeft

@property (nonatomic, readonly, nonnull) MMKPoint *topLeft;

Top-left of the visible region.


topRight

@property (nonatomic, readonly, nonnull) MMKPoint *topRight;

Top-right of the visible region.


bottomLeft

@property (nonatomic, readonly, nonnull) MMKPoint *bottomLeft;

Bottom-left of the visible region.


bottomRight

@property (nonatomic, readonly, nonnull) MMKPoint *bottomRight;

Bottom-right of the visible region.