MMKScreenPoint

@interface MMKScreenPoint : NSObject

A point on the device screen.

Summary

Class methods

+ (nonnull MMKScreenPoint *)screenPointWithX:( float)x
                                           y:( float)y;

Properties

@property (nonatomic, readonly) float x;
The horizontal position of the point in pixels from the left screen border

@property (nonatomic, readonly) float y;
The vertical position of the point in pixels from the top screen border

Class methods

screenPointWithX:y:

+ (nonnull MMKScreenPoint *)screenPointWithX:( float)x
                                           y:( float)y;


Properties

x

@property (nonatomic, readonly) float x;

The horizontal position of the point in pixels from the left screen border.


y

@property (nonatomic, readonly) float y;

The vertical position of the point in pixels from the top screen border.