qnx.display.MirrorMode

MirrorMode

Constants


Packageqnx.display
Classpublic final class MirrorMode
InheritanceMirrorMode Inheritance Object

The MirrorMode class defines constants that are used by the getMirrorMode and setMirrorMode functions in the Display class.

Class information:
BlackBerry 10 Version:   10.0.0

See also

getMirrorMode()
setMirrorMode()
DisplayType



Public Constants

 ConstantDefined By
  DISABLED : String = disabled
[static] Indicates that mirror mode is disabled.
MirrorMode
  FILL : String = fill
[static] Stretch to fill the display without preserving the aspect ratio.
MirrorMode
  NORMAL : String = normal
[static] Indicates that the attached display is the same size as main display.
MirrorMode
  STRETCH : String = stretch
[static] Stretch to fill the display while preserving the aspect ratio.
MirrorMode
  ZOOM : String = zoom
[static] Stretch to fill the display in both directions while preserving the aspect ratio.
MirrorMode

Constant Detail

DISABLED


public static const DISABLED:String = disabled

Indicates that mirror mode is disabled.

FILL


public static const FILL:String = fill

Stretch to fill the display without preserving the aspect ratio.

If the aspect ratio of the displays do not match, the output will be distorted.

NORMAL


public static const NORMAL:String = normal

Indicates that the attached display is the same size as main display.

STRETCH


public static const STRETCH:String = stretch

Stretch to fill the display while preserving the aspect ratio.

If the aspect ratio of the displays do not match, there will be vertical or horizontal black bars.

ZOOM


public static const ZOOM:String = zoom

Stretch to fill the display in both directions while preserving the aspect ratio.

If the aspect ratio of the displays do not match, part of the content will be clipped.





comments powered by Disqus