YMKScreenPoint

@interface YMKScreenPoint : NSObject

A point on the device screen.

Summary

Class methods

+ (nonnull YMKScreenPoint *)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 YMKScreenPoint *)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.