Rectangle on the device screen, in screen pixels (same units as ScreenPoint). More...
Public Member Functions | |
| ScreenRect (android.graphics.PointF topLeft, android.graphics.PointF bottomRight) | |
| Default constructor for class ScreenRect. | |
| android.graphics.PointF | getTopLeft () |
| Top-left corner ScreenPoint. | |
| android.graphics.PointF | getBottomRight () |
| Bottom-right corner ScreenPoint. | |
| String | toString () |
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 20 of file ScreenRect.java.
|
inline |
Default constructor for class ScreenRect.
Definition at line 30 of file ScreenRect.java.
|
inline |
|
inline |
|
inline |
Definition at line 52 of file ScreenRect.java.