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.

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
DISABLEDConstant
public static const DISABLED:String = disabled

Indicates that mirror mode is disabled.

FILLConstant 
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.

NORMALConstant 
public static const NORMAL:String = normal

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

STRETCHConstant 
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.

ZOOMConstant 
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.