Class YMKScreenRect

A rectangle on the device screen.

Class Methods

Properties

bottomRight

The position of the bottom right corner of the rectangle.

topLeft

The position of the top left corner of the rectangle.

bottomRight

The position of the bottom right corner of the rectangle.

topLeft

The position of the top left corner of the rectangle.

Method Detail

+screenRectWithTopLeft:bottomRight:

+ (nonnull YMKScreenRect *)screenRectWithTopLeft:(nonnull YMKScreenPoint *)topLeft
                                     bottomRight:(nonnull YMKScreenPoint *)bottomRight 

Property Detail

bottomRight

(assign, readonly) YMKScreenPoint * bottomRight

The position of the bottom right corner of the rectangle.

topLeft

(assign, readonly) YMKScreenPoint * topLeft

The position of the top left corner of the rectangle.