Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Creates a blend shader that is equivalent
to the luminosity masking option (also known as soft masking) available
in Adobe Creative Suite tools. This mask type is not native to Flash,
but is available in tools like Adobe Illustrator and Adobe Photoshop.
A luminosity mask type can be set on Flex groups and graphic
elements. The visual appearance in tools like Adobe Illustrator and
Adobe Photoshop will be mimicked through this blend shader.
mode:int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
A convenience field that takes into account whether luminosityClip and/or
luminosityInvert are on or off.
- mode 0 = luminosityClip off, luminosityInvert off
- mode 1 = luminosityClip off, luminosityInvert on
- mode 2 = luminosityClip on, luminosityInvert off
- mode 3 = luminosityClip on, luminosityInvert on
Implementation public function get mode():int
public function set mode(value:int):void
See also
public function LuminosityMaskShader()
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Constructor.
Mon Feb 18 2013, 01:33 PM +11:00