DisplayDirection
#include <bb/cascades/DisplayDirection>
Represents the display direction of the device's screen plane.
The direction value is the angle between device's natural orientation (with the BlackBerry logo pointing up) and the display's current physical direction (in counter clockwise direction). The natural orientation of the device is DisplayDirection::North (0 degrees).
BlackBerry 10.0.0
Public Types
The display directions.
BlackBerry 10.0.0
- North = 0
The BlackBerry logo is upright.
Since:BlackBerry 10.0.0
- East = 90
The BlackBerry logo is sideways - the text runs upwards and the display is rotated 90 degrees to the left.
Since:BlackBerry 10.0.0
- South = 180
The BlackBerry logo is upside down - the display is rotated upside down.
Since:BlackBerry 10.0.0
- West = 270
The BlackBerry logo is sideways - the text runs downwards, and the display is rotated 270 degrees to the left.
Since:BlackBerry 10.0.0