Rectangle on the device screen, in screen pixels (same units as ScreenPoint). More...
#include <com/navigine/idl/objc/NCScreenRect.h>
Inherits NSObject.
Instance Methods | |
| (nonnull instancetype) | - initWithTopLeft:bottomRight: |
| Default constructor for class NCScreenRect. | |
Class Methods | |
| (nonnull instancetype) | + screenRectWithTopLeft:bottomRight: |
| Factory method for class NCScreenRect. | |
Properties | |
| CGPoint | topLeft |
| Top-left corner ScreenPoint. | |
| CGPoint | bottomRight |
| Bottom-right corner ScreenPoint. | |
Rectangle on the device screen, in screen pixels (same units as ScreenPoint).
Used as LocationWindow.focusRect and with getEnclosingCameraWithFocus so chrome (floor selector, follow-me, POI card) does not cover the fitted geometry. Null / unset means the full viewport.
Origin is the top-left of the map view; +x right, +y down.
Definition at line 23 of file NCScreenRect.h.
| - (nonnull instancetype) initWithTopLeft: | (CGPoint) | topLeft | |
| bottomRight: | (CGPoint) | bottomRight |
Default constructor for class NCScreenRect.
| + (nonnull instancetype) screenRectWithTopLeft: | (CGPoint) | topLeft | |
| bottomRight: | (CGPoint) | bottomRight |
Factory method for class NCScreenRect.
|
readnonatomicassign |
Bottom-right corner ScreenPoint.
Definition at line 45 of file NCScreenRect.h.
|
readnonatomicassign |
Top-left corner ScreenPoint.
Definition at line 40 of file NCScreenRect.h.