qnx.display.IowWindowTransparency

IowWindowTransparency

Constants


Packageqnx.display
Classpublic final class IowWindowTransparency
InheritanceIowWindowTransparency Inheritance Object

The IowWindowTransparency class defines constants for the transparency property of the IowWindow object that is used to control composition manager windows.

The window transparency setting determines how the current window is blended with underlying windows.



Class information:
BlackBerry 10 Version:   10.0.0

See also

IowWindow



Public Constants

 ConstantDefined By
  ALPHA : String = alpha
[static] The window's alpha channel is used to perform blending.
IowWindowTransparency
  DISCARD : String = discard
[static] The contents of the window are not used during composition.
IowWindowTransparency
  NONE : String = none
[static] No blending is done, the window is considered fully opaque.
IowWindowTransparency
  TEST : String = test
[static] Pixels that have zero alpha are skipped, otherwise this setting is the same as 'NONE'.
IowWindowTransparency

Constant Detail

ALPHA


public static const ALPHA:String = alpha

The window's alpha channel is used to perform blending.

This is the slowest mode however it allows for gradations of transparency.

DISCARD


public static const DISCARD:String = discard

The contents of the window are not used during composition.

This indicates that the window should be considered fully transparent. Transparent windows can be useful when capturing input. You can use this setting to avoid the cost of blending when you know in advance that the entire window is transparent, or should be considered transparent.

NONE


public static const NONE:String = none

No blending is done, the window is considered fully opaque.

This setting gives the best performance and should be used in all cases where it is known that the window is fully opaque.

TEST


public static const TEST:String = test

Pixels that have zero alpha are skipped, otherwise this setting is the same as 'NONE'.

This is the best mode to use when all parts of a window are either fully opaque or fully transparent. This setting provides the ability to have transparent portions of the window without paying the performance cost of performing full blending.





comments powered by Disqus