Packagecom.adobe.photoshop
Classpublic class ColorBlendMode
InheritanceColorBlendMode Inheritance PhotoshopEnumBase Inheritance CSEnumBase Inheritance CSHostObject Inheritance flash.utils.Proxy

The color blend mode type.



Public Properties
 PropertyDefined By
  BEHIND : ColorBlendMode
[static] [read-only] Edits or paints only on the transparent part of a layer.
ColorBlendMode
  CLEAR : ColorBlendMode
[static] [read-only] Edits or paints each pixel and makes it transparent.
ColorBlendMode
  COLOR : ColorBlendMode
[static] [read-only] Creates a result color with the luminance of the base color and the hue and saturation of the blend color.
ColorBlendMode
  COLORBURN : ColorBlendMode
[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.
ColorBlendMode
  COLORDODGE : ColorBlendMode
[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.
ColorBlendMode
  DARKEN : ColorBlendMode
[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.
ColorBlendMode
  DIFFERENCE : ColorBlendMode
[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.
ColorBlendMode
  DISSOLVE : ColorBlendMode
[static] [read-only] Edits or paints each pixel to make it the result color, which is a random replacement of the pixels with the base color or the blend color, depending on the opacity at any pixel location.
ColorBlendMode
  DIVIDE : ColorBlendMode
[static] [read-only]
ColorBlendMode
  enumCache : CSEnumSharedCache
[static] [read-only]
ColorBlendMode
  EXCLUSION : ColorBlendMode
[static] [read-only] Creates an effect similar to but lower in contrast than the Difference mode.
ColorBlendMode
  HARDLIGHT : ColorBlendMode
[static] [read-only] Multiplies or screens the colors, depending on the blend color.
ColorBlendMode
  HARDMIXBLEND : ColorBlendMode
[static] [read-only] Lighter colors lighten the result, and darker colors darken the result.
ColorBlendMode
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  HUE : ColorBlendMode
[static] [read-only] Creates a result color with the luminance and saturation of the base color and the hue of the blend color.
ColorBlendMode
  LIGHTEN : ColorBlendMode
[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.
ColorBlendMode
  LINEARBURN : ColorBlendMode
[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.
ColorBlendMode
  LINEARDODGE : ColorBlendMode
[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.
ColorBlendMode
  LINEARLIGHT : ColorBlendMode
[static] [read-only] Burns or dodges the colors by decreasing or increasing the brightness, depending on the blend color.
ColorBlendMode
  LUMINOSITY : ColorBlendMode
[static] [read-only] Creates a result color with the hue and saturation of the base color and the luminance of the blend color.
ColorBlendMode
  MULTIPLY : ColorBlendMode
[static] [read-only] Looks at the color information in each channel and multiplies the base color by the blend color.
ColorBlendMode
  NORMAL : ColorBlendMode
[static] [read-only] Edits or paints each pixel to make it the result color.
ColorBlendMode
  OVERLAY : ColorBlendMode
[static] [read-only] Multiplies or screens the colors, depending on the base color.
ColorBlendMode
  PINLIGHT : ColorBlendMode
[static] [read-only] Replaces the colors, depending on the blend color.
ColorBlendMode
  SATURATION : ColorBlendMode
[static] [read-only] Creates a result color with the luminance and hue of the base color and the saturation of the blend color.
ColorBlendMode
  SCREEN : ColorBlendMode
[static] [read-only] Looks at each channel?s color information and multiplies the inverse of the blend and base colors.
ColorBlendMode
  SOFTLIGHT : ColorBlendMode
[static] [read-only] Darkens or lightens the colors, depending on the blend color.
ColorBlendMode
  SUBTRACT : ColorBlendMode
[static] [read-only]
ColorBlendMode
 Inheritedvalue : Object
[override] [read-only] Returns the object value
PhotoshopEnumBase
  VIVIDLIGHT : ColorBlendMode
[static] [read-only] Burns or dodges the colors by increasing or decreasing the contrast, depending on the blend color.
ColorBlendMode
Public Methods
 MethodDefined By
  
ColorBlendMode(ho:HostObject = null, enum:Number)
Constructor
ColorBlendMode
 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
BEHINDproperty
BEHIND:ColorBlendMode  [read-only]

Edits or paints only on the transparent part of a layer. Works only in layers in which transparent pixels locked = false and is analogous to painting on the back of transparent areas on a sheet of acetate.


Implementation
    public static function get BEHIND():ColorBlendMode
CLEARproperty 
CLEAR:ColorBlendMode  [read-only]

Edits or paints each pixel and makes it transparent. Works only in layers in which transparent pixels locked = false.


Implementation
    public static function get CLEAR():ColorBlendMode
COLORproperty 
COLOR:ColorBlendMode  [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 COLOR():ColorBlendMode
COLORBURNproperty 
COLORBURN:ColorBlendMode  [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():ColorBlendMode
COLORDODGEproperty 
COLORDODGE:ColorBlendMode  [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():ColorBlendMode
DARKENproperty 
DARKEN:ColorBlendMode  [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():ColorBlendMode
DIFFERENCEproperty 
DIFFERENCE:ColorBlendMode  [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():ColorBlendMode
DISSOLVEproperty 
DISSOLVE:ColorBlendMode  [read-only]

Edits or paints each pixel to make it the result color, which 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():ColorBlendMode
DIVIDEproperty 
DIVIDE:ColorBlendMode  [read-only]


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


Implementation
    public static function get enumCache():CSEnumSharedCache
EXCLUSIONproperty 
EXCLUSION:ColorBlendMode  [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():ColorBlendMode
HARDLIGHTproperty 
HARDLIGHT:ColorBlendMode  [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():ColorBlendMode
HARDMIXBLENDproperty 
HARDMIXBLEND:ColorBlendMode  [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 HARDMIXBLEND():ColorBlendMode
HUEproperty 
HUE:ColorBlendMode  [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():ColorBlendMode
LIGHTENproperty 
LIGHTEN:ColorBlendMode  [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():ColorBlendMode
LINEARBURNproperty 
LINEARBURN:ColorBlendMode  [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():ColorBlendMode
LINEARDODGEproperty 
LINEARDODGE:ColorBlendMode  [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():ColorBlendMode
LINEARLIGHTproperty 
LINEARLIGHT:ColorBlendMode  [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():ColorBlendMode
LUMINOSITYproperty 
LUMINOSITY:ColorBlendMode  [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():ColorBlendMode
MULTIPLYproperty 
MULTIPLY:ColorBlendMode  [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():ColorBlendMode
NORMALproperty 
NORMAL:ColorBlendMode  [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():ColorBlendMode
OVERLAYproperty 
OVERLAY:ColorBlendMode  [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():ColorBlendMode
PINLIGHTproperty 
PINLIGHT:ColorBlendMode  [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():ColorBlendMode
SATURATIONproperty 
SATURATION:ColorBlendMode  [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():ColorBlendMode
SCREENproperty 
SCREEN:ColorBlendMode  [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():ColorBlendMode
SOFTLIGHTproperty 
SOFTLIGHT:ColorBlendMode  [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():ColorBlendMode
SUBTRACTproperty 
SUBTRACT:ColorBlendMode  [read-only]


Implementation
    public static function get SUBTRACT():ColorBlendMode
VIVIDLIGHTproperty 
VIVIDLIGHT:ColorBlendMode  [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():ColorBlendMode
Constructor Detail
ColorBlendMode()Constructor
public function ColorBlendMode(ho:HostObject = null, enum:Number)

Constructor

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