blendMode property of the
nme.display.DisplayObject class.blendMode parameter of the draw()
method of the nme.display.BitmapData classblendMode property of the
parent display object be set to
nme.display.BlendMode.LAYER.
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0xDDCC00(because 0xFF > 0xDD, 0xCC < 0xF8, and 0x33 > 0x00 = 33).
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0x222C33(because 0xFF - 0xDD = 0x22, 0xF8 - 0xCC = 0x2C, and 0x33 - 0x00 = 0x33).
blendMode property of the parent
display object be set to nme.display.BlendMode.LAYER.
Not supported under GPU rendering.
Not supported under GPU rendering.
blendMode setting other than "normal".
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xFFCC33, and the background pixel has an RGB value of 0xDDF800, the resulting RGB value for the displayed pixel is 0xFFF833(because 0xFF > 0xDD, 0xCC < 0xF8, and 0x33 > 0x00 = 33).
Not supported under GPU rendering.
For example, if a constituent color(such as red) of one pixel in the display object and the corresponding color of the pixel in the background both have the value 0x88, the multiplied result is 0x4840. Dividing by 0xFF yields a value of 0x48 for that constituent color, which is a darker shade than the color of the display object or the color of the background.
Not supported under GPU rendering.
Setting the blendShader property to a Shader instance
automatically sets the display object's blendMode property to
BlendMode.SHADER. If the blendMode property is
set to BlendMode.SHADER without first setting the
blendShader property, the blendMode property is
set to BlendMode.NORMAL instead. If the
blendShader property is set(which sets the
blendMode property to BlendMode.SHADER), then
later the value of the blendMode property is changed, the
blend mode can be reset to use the blend shader simply by setting the
blendMode property to BlendMode.SHADER. The
blendShader property does not need to be set again except to
change the shader that's used to define the blend mode.
Not supported under GPU rendering.
For example, if the display object has a pixel with an RGB value of 0xAA2233, and the background pixel has an RGB value of 0xDDA600, the resulting RGB value for the displayed pixel is 0x338400(because 0xDD - 0xAA = 0x33, 0xA6 - 0x22 = 0x84, and 0x00 - 0x33 < 0x00).
For example, if the display object has a pixel with an RGB value of 0xAAA633, and the background pixel has an RGB value of 0xDD2200, the resulting RGB value for the displayed pixel is 0xFFC833(because 0xAA + 0xDD > 0xFF, 0xA6 + 0x22 = 0xC8, and 0x33 + 0x00 = 0x33).