Packagemx.graphics.shaderClasses
Classpublic class LuminosityMaskShader
InheritanceLuminosityMaskShader Inheritance flash.display.Shader

Language Version : ActionScript 3.0
Product Version : Flex 4
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.

See also

spark.primitives.supportClasses.GraphicElement.maskType
spark.components.supportClasses.GroupBase.maskType


Public Properties
 PropertyDefined By
  mode : int
A convenience field that takes into account whether luminosityClip and/or luminosityInvert are on or off.
LuminosityMaskShader
Public Methods
 MethodDefined By
  
Constructor.
LuminosityMaskShader
Property Detail
modeproperty
mode:int

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

A convenience field that takes into account whether luminosityClip and/or luminosityInvert are on or off.


Implementation
    public function get mode():int
    public function set mode(value:int):void

See also

Constructor Detail
LuminosityMaskShader()Constructor
public function LuminosityMaskShader()

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.5

Constructor.