Loading...
Searching...
No Matches
com.navigine.idl.java.ScreenRect Class Reference

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 ()
 

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 20 of file ScreenRect.java.

Constructor & Destructor Documentation

◆ ScreenRect()

com.navigine.idl.java.ScreenRect.ScreenRect ( android.graphics.PointF topLeft,
android.graphics.PointF bottomRight )
inline

Default constructor for class ScreenRect.

Definition at line 30 of file ScreenRect.java.

Member Function Documentation

◆ getBottomRight()

android.graphics.PointF com.navigine.idl.java.ScreenRect.getBottomRight ( )
inline

Bottom-right corner ScreenPoint.

Returns

Definition at line 47 of file ScreenRect.java.

◆ getTopLeft()

android.graphics.PointF com.navigine.idl.java.ScreenRect.getTopLeft ( )
inline

Top-left corner ScreenPoint.

Returns

Definition at line 40 of file ScreenRect.java.

◆ toString()

String com.navigine.idl.java.ScreenRect.toString ( )
inline

Definition at line 52 of file ScreenRect.java.


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