Rectangle on the device screen, in screen pixels (same units as ScreenPoint). More...
Public Member Functions | |
| ScreenRect (this.topLeft, this.bottomRight) | |
| Default constructor. | |
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 25 of file screen_rect.dart.
| ScreenRect.ScreenRect | ( | this. | topLeft, |
| this. | bottomRight ) |
Default constructor.