Packagecom.adobe.photoshop
Classpublic class BlendMode
InheritanceBlendMode Inheritance PhotoshopEnumBase Inheritance CSEnumBase Inheritance CSHostObject Inheritance flash.utils.Proxy

Controls how pixels in the image are blended.



Public Properties
 PropertyDefined By
  COLORBLEND : BlendMode
[static] [read-only] Creates a result color with the luminance of the base color and the hue and saturation of the blend color.
BlendMode
  COLORBURN : BlendMode
[static] [read-only] Looks at the color information in each channel and darkens the base color to reflect the blend color by increasing the contrast.
BlendMode
  COLORDODGE : BlendMode
[static] [read-only] Looks at the color information in each channel and brightens the base color to reflect the blend color by decreasing the contrast.
BlendMode
  DARKEN : BlendMode
[static] [read-only] Looks at the color information in each channel and selects the base or blend color?whichever is darker?as the result color.
BlendMode
  DARKERCOLOR : BlendMode
[static] [read-only] Lighter colors lighten the result, and darker colors darken the result.
BlendMode
  DIFFERENCE : BlendMode
[static] [read-only] Looks at the color information in each channel and subtracts either the blend color from the base color or the base color from the blend color, depending on which has the greater brightness value.
BlendMode
  DISSOLVE : BlendMode
[static] [read-only] Edits or paints each pixel to make it the result color.
BlendMode
  DIVIDE : BlendMode
[static] [read-only]
BlendMode
  enumCache : CSEnumSharedCache
[static] [read-only]
BlendMode
  EXCLUSION : BlendMode
[static] [read-only] Creates an effect similar to but lower in contrast than the Difference mode.
BlendMode
  HARDLIGHT : BlendMode
[static] [read-only] Multiplies or screens the colors, depending on the blend color.
BlendMode
  HARDMIX : BlendMode
[static] [read-only] Lighter colors lighten the result, and darker colors darken the result.
BlendMode
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  HUE : BlendMode
[static] [read-only] Creates a result color with the luminance and saturation of the base color and the hue of the blend color.
BlendMode
  LIGHTEN : BlendMode
[static] [read-only] Looks at the color information in each channel and selects the base or blend color?whichever is lighter?as the result color.
BlendMode
  LIGHTERCOLOR : BlendMode
[static] [read-only] Lighter colors lighten the result, and darker colors darken the result.
BlendMode
  LINEARBURN : BlendMode
[static] [read-only] Looks at the color information in each channel and darkens the base color to reflect the blend color by decreasing the brightness.
BlendMode
  LINEARDODGE : BlendMode
[static] [read-only] Looks at the color information in each channel and brightens the base color to reflect the blend color by increasing the brightness.
BlendMode
  LINEARLIGHT : BlendMode
[static] [read-only] Burns or dodges the colors by decreasing or increasing the brightness, depending on the blend color.
BlendMode
  LUMINOSITY : BlendMode
[static] [read-only] Creates a result color with the hue and saturation of the base color and the luminance of the blend color.
BlendMode
  MULTIPLY : BlendMode
[static] [read-only] Looks at the color information in each channel and multiplies the base color by the blend color.
BlendMode
  NORMAL : BlendMode
[static] [read-only] Edits or paints each pixel to make it the result color.
BlendMode
  OVERLAY : BlendMode
[static] [read-only] Multiplies or screens the colors, depending on the base color.
BlendMode
  PASSTHROUGH : BlendMode
[static] [read-only] Allows any blend modes, advanced blending options, and opacity and fill values applied to layers within a set to affect layers below the set in the Layers palette.
BlendMode
  PINLIGHT : BlendMode
[static] [read-only] Replaces the colors, depending on the blend color.
BlendMode
  SATURATION : BlendMode
[static] [read-only] Creates a result color with the luminance and hue of the base color and the saturation of the blend color.
BlendMode
  SCREEN : BlendMode
[static] [read-only] Looks at each channel?s color information and multiplies the inverse of the blend and base colors.
BlendMode
  SOFTLIGHT : BlendMode
[static] [read-only] Darkens or lightens the colors, depending on the blend color.
BlendMode
  SUBTRACT : BlendMode
[static] [read-only]
BlendMode
 Inheritedvalue : Object
[override] [read-only] Returns the object value
PhotoshopEnumBase
  VIVIDLIGHT : BlendMode
[static] [read-only] Burns or dodges the colors by increasing or decreasing the contrast, depending on the blend color.
BlendMode
Public Methods
 MethodDefined By
  
BlendMode(ho:HostObject = null, enum:Number)
Constructor
BlendMode
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
COLORBLENDproperty
COLORBLEND:BlendMode  [read-only]

Creates a result color with the luminance of the base color and the hue and saturation of the blend color. This preserves the gray levels in the image and is useful for coloring monochrome images and for tinting color images.


Implementation
    public static function get COLORBLEND():BlendMode
COLORBURNproperty 
COLORBURN:BlendMode  [read-only]

Looks at the color information in each channel and darkens the base color to reflect the blend color by increasing the contrast. Blending with white produces no change.


Implementation
    public static function get COLORBURN():BlendMode
COLORDODGEproperty 
COLORDODGE:BlendMode  [read-only]

Looks at the color information in each channel and brightens the base color to reflect the blend color by decreasing the contrast. Blending with black produces no change.


Implementation
    public static function get COLORDODGE():BlendMode
DARKENproperty 
DARKEN:BlendMode  [read-only]

Looks at the color information in each channel and selects the base or blend color?whichever is darker?as the result color. Pixels lighter than the blend color are replaced, and pixels darker than the blend color do not change.


Implementation
    public static function get DARKEN():BlendMode
DARKERCOLORproperty 
DARKERCOLOR:BlendMode  [read-only]

Lighter colors lighten the result, and darker colors darken the result. 50% gray as a blend color has no effect on the result color. Lowering the fill opacity creates less posterization/thresholding.


Implementation
    public static function get DARKERCOLOR():BlendMode
DIFFERENCEproperty 
DIFFERENCE:BlendMode  [read-only]

Looks at the color information in each channel and subtracts either the blend color from the base color or the base color from the blend color, depending on which has the greater brightness value. Blending with white inverts the base color values; blending with black produces no change.


Implementation
    public static function get DIFFERENCE():BlendMode
DISSOLVEproperty 
DISSOLVE:BlendMode  [read-only]

Edits or paints each pixel to make it the result color. However, the result color is a random replacement of the pixels with the base color or the blend color, depending on the opacity at any pixel location.


Implementation
    public static function get DISSOLVE():BlendMode
DIVIDEproperty 
DIVIDE:BlendMode  [read-only]


Implementation
    public static function get DIVIDE():BlendMode
enumCacheproperty 
enumCache:CSEnumSharedCache  [read-only]


Implementation
    public static function get enumCache():CSEnumSharedCache
EXCLUSIONproperty 
EXCLUSION:BlendMode  [read-only]

Creates an effect similar to but lower in contrast than the Difference mode. Blending with white inverts the base color values. Blending with black produces no change.


Implementation
    public static function get EXCLUSION():BlendMode
HARDLIGHTproperty 
HARDLIGHT:BlendMode  [read-only]

Multiplies or screens the colors, depending on the blend color. The effect is similar to shining a harsh spotlight on the image. If the blend color (light source) is lighter than 50% gray, the image is lightened, as if it were screened. This is useful for adding highlights to an image. If the blend color is darker than 50% gray, the image is darkened, as if it were multiplied. This is useful for adding shadows to an image. Painting with pure black or white results in pure black or white.


Implementation
    public static function get HARDLIGHT():BlendMode
HARDMIXproperty 
HARDMIX:BlendMode  [read-only]

Lighter colors lighten the result, and darker colors darken the result. 50% gray as a blend color has no effect on the result color. Lowering the fill opacity creates less posterization/thresholding.


Implementation
    public static function get HARDMIX():BlendMode
HUEproperty 
HUE:BlendMode  [read-only]

Creates a result color with the luminance and saturation of the base color and the hue of the blend color.


Implementation
    public static function get HUE():BlendMode
LIGHTENproperty 
LIGHTEN:BlendMode  [read-only]

Looks at the color information in each channel and selects the base or blend color?whichever is lighter?as the result color. Pixels darker than the blend color are replaced, and pixels lighter than the blend color do not change.


Implementation
    public static function get LIGHTEN():BlendMode
LIGHTERCOLORproperty 
LIGHTERCOLOR:BlendMode  [read-only]

Lighter colors lighten the result, and darker colors darken the result. 50% gray as a blend color has no effect on the result color. Lowering the fill opacity creates less posterization/thresholding.


Implementation
    public static function get LIGHTERCOLOR():BlendMode
LINEARBURNproperty 
LINEARBURN:BlendMode  [read-only]

Looks at the color information in each channel and darkens the base color to reflect the blend color by decreasing the brightness. Blending with white produces no change.


Implementation
    public static function get LINEARBURN():BlendMode
LINEARDODGEproperty 
LINEARDODGE:BlendMode  [read-only]

Looks at the color information in each channel and brightens the base color to reflect the blend color by increasing the brightness. Blending with black produces no change.


Implementation
    public static function get LINEARDODGE():BlendMode
LINEARLIGHTproperty 
LINEARLIGHT:BlendMode  [read-only]

Burns or dodges the colors by decreasing or increasing the brightness, depending on the blend color. If the blend color (light source) is lighter than 50% gray, the image is lightened by increasing the brightness. If the blend color is darker than 50% gray, the image is darkened by decreasing the brightness.


Implementation
    public static function get LINEARLIGHT():BlendMode
LUMINOSITYproperty 
LUMINOSITY:BlendMode  [read-only]

Creates a result color with the hue and saturation of the base color and the luminance of the blend color. This mode creates an inverse effect from that of the Color mode.


Implementation
    public static function get LUMINOSITY():BlendMode
MULTIPLYproperty 
MULTIPLY:BlendMode  [read-only]

Looks at the color information in each channel and multiplies the base color by the blend color. The result color is always a darker color. Multiplying any color with black produces black. Multiplying any color with white leaves the color unchanged. When you?re painting with a color other than black or white, successive strokes with a painting tool produce progressively darker colors. The effect is similar to drawing on the image with multiple marking pens.


Implementation
    public static function get MULTIPLY():BlendMode
NORMALproperty 
NORMAL:BlendMode  [read-only]

Edits or paints each pixel to make it the result color. (Called "Threshold" when you?re working with a bitmapped or indexed-color image.)


Implementation
    public static function get NORMAL():BlendMode
OVERLAYproperty 
OVERLAY:BlendMode  [read-only]

Multiplies or screens the colors, depending on the base color. Patterns or colors overlay the existing pixels while preserving the highlights and shadows of the base color. The base color is not replaced but is mixed with the blend color to reflect the lightness or darkness of the original color.


Implementation
    public static function get OVERLAY():BlendMode
PASSTHROUGHproperty 
PASSTHROUGH:BlendMode  [read-only]

Allows any blend modes, advanced blending options, and opacity and fill values applied to layers within a set to affect layers below the set in the Layers palette. Valid only for layer sets. To restrict blend modes of the layers within a set, change the layer set's blend mode to Normal.


Implementation
    public static function get PASSTHROUGH():BlendMode
PINLIGHTproperty 
PINLIGHT:BlendMode  [read-only]

Replaces the colors, depending on the blend color. If the blend color (light source) is lighter than 50% gray, pixels darker than the blend color are replaced, and pixels lighter than the blend color do not change. If the blend color is darker than 50% gray, pixels lighter than the blend color are replaced, and pixels darker than the blend color do not change. This is useful for adding special effects to an image.


Implementation
    public static function get PINLIGHT():BlendMode
SATURATIONproperty 
SATURATION:BlendMode  [read-only]

Creates a result color with the luminance and hue of the base color and the saturation of the blend color. Painting with this mode in an area with no (0) saturation (gray) causes no change.


Implementation
    public static function get SATURATION():BlendMode
SCREENproperty 
SCREEN:BlendMode  [read-only]

Looks at each channel?s color information and multiplies the inverse of the blend and base colors. The result color is always a lighter color. Screening with black leaves the color unchanged. Screening with white produces white. The effect is similar to projecting multiple photographic slides on top of each other.


Implementation
    public static function get SCREEN():BlendMode
SOFTLIGHTproperty 
SOFTLIGHT:BlendMode  [read-only]

Darkens or lightens the colors, depending on the blend color. The effect is similar to shining a diffused spotlight on the image. If the blend color (light source) is lighter than 50% gray, the image is lightened as if it were dodged. If the blend color is darker than 50% gray, the image is darkened as if it were burned in. Painting with pure black or white produces a distinctly darker or lighter area but does not result in pure black or white.


Implementation
    public static function get SOFTLIGHT():BlendMode
SUBTRACTproperty 
SUBTRACT:BlendMode  [read-only]


Implementation
    public static function get SUBTRACT():BlendMode
VIVIDLIGHTproperty 
VIVIDLIGHT:BlendMode  [read-only]

Burns or dodges the colors by increasing or decreasing the contrast, depending on the blend color. If the blend color (light source) is lighter than 50% gray, the image is lightened by decreasing the contrast. If the blend color is darker than 50% gray, the image is darkened by increasing the contrast.


Implementation
    public static function get VIVIDLIGHT():BlendMode
Constructor Detail
BlendMode()Constructor
public function BlendMode(ho:HostObject = null, enum:Number)

Constructor

Parameters
ho:HostObject (default = null) — Enumerations value
 
enum:Number (default = NaN)