Loading...
Searching...
No Matches

Rectangle on the device screen, in screen pixels (same units as ScreenPoint). More...

Public Member Functions

 ScreenRect (this.topLeft, this.bottomRight)
 Default constructor.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ScreenRect()

ScreenRect.ScreenRect ( this. topLeft,
this. bottomRight )

Default constructor.


The documentation for this class was generated from the following file: