Package | com.adobe.photoshop |
Class | public class ColorBlendMode |
Inheritance | ColorBlendMode ![]() ![]() ![]() ![]() |
Since : | CS5 |
Property | Defined 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 | ||
![]() | hostObjectDelegate : 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 | ||
![]() | value : 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 |
Method | Defined By | ||
---|---|---|---|
ColorBlendMode(ho:HostObject = null, enum:Number)
Constructor
| ColorBlendMode | ||
![]() | filterArgsForHBAPI(args:Array):Array [static]
Function to clean up the argument list and put it into a format that
makes sense for HBAPI. | CSHostObject | |
![]() | filterSingleObjectForHBAPI(value:Object):Object [static]
| CSHostObject | |
![]() | 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 | |
![]() | getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):* [static] | CSHostObject | |
![]() | hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
| CSHostObject | |
![]() | hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):* [static]
Implements a safe call of a static method on the host
| CSHostObject | |
![]() | hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
| CSHostObject | |
![]() | hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
| CSHostObject | |
![]() | 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 | |
![]() | hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
| CSHostObject | |
![]() | hostSetStatic(className:String, propertyName:String, rawvalue:*):* [static]
Implements a safe set of a static property on the host
| CSHostObject | |
![]() | 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 | |
![]() | replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call. | CSHostObject | |
![]() | wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):* [static]
Method used on static/normal get/ hostcalls
| CSHostObject |
BEHIND | property |
BEHIND:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get BEHIND():ColorBlendMode
CLEAR | property |
CLEAR:ColorBlendMode
[read-only] Since : | CS5 |
Edits or paints each pixel and makes it transparent. Works only in layers in which transparent pixels locked = false.
public static function get CLEAR():ColorBlendMode
COLOR | property |
COLOR:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get COLOR():ColorBlendMode
COLORBURN | property |
COLORBURN:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get COLORBURN():ColorBlendMode
COLORDODGE | property |
COLORDODGE:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get COLORDODGE():ColorBlendMode
DARKEN | property |
DARKEN:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get DARKEN():ColorBlendMode
DIFFERENCE | property |
DIFFERENCE:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get DIFFERENCE():ColorBlendMode
DISSOLVE | property |
DISSOLVE:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get DISSOLVE():ColorBlendMode
DIVIDE | property |
DIVIDE:ColorBlendMode
[read-only] Since : | CS5 |
public static function get DIVIDE():ColorBlendMode
enumCache | property |
enumCache:CSEnumSharedCache
[read-only] Since : | CS5 |
public static function get enumCache():CSEnumSharedCache
EXCLUSION | property |
EXCLUSION:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get EXCLUSION():ColorBlendMode
HARDLIGHT | property |
HARDLIGHT:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get HARDLIGHT():ColorBlendMode
HARDMIXBLEND | property |
HARDMIXBLEND:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get HARDMIXBLEND():ColorBlendMode
HUE | property |
HUE:ColorBlendMode
[read-only] Since : | CS5 |
Creates a result color with the luminance and saturation of the base color and the hue of the blend color.
public static function get HUE():ColorBlendMode
LIGHTEN | property |
LIGHTEN:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get LIGHTEN():ColorBlendMode
LINEARBURN | property |
LINEARBURN:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get LINEARBURN():ColorBlendMode
LINEARDODGE | property |
LINEARDODGE:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get LINEARDODGE():ColorBlendMode
LINEARLIGHT | property |
LINEARLIGHT:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get LINEARLIGHT():ColorBlendMode
LUMINOSITY | property |
LUMINOSITY:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get LUMINOSITY():ColorBlendMode
MULTIPLY | property |
MULTIPLY:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get MULTIPLY():ColorBlendMode
NORMAL | property |
NORMAL:ColorBlendMode
[read-only] Since : | CS5 |
Edits or paints each pixel to make it the result color. (Called "Threshold" when you?re working with a bitmapped or indexed-color image.)
public static function get NORMAL():ColorBlendMode
OVERLAY | property |
OVERLAY:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get OVERLAY():ColorBlendMode
PINLIGHT | property |
PINLIGHT:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get PINLIGHT():ColorBlendMode
SATURATION | property |
SATURATION:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get SATURATION():ColorBlendMode
SCREEN | property |
SCREEN:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get SCREEN():ColorBlendMode
SOFTLIGHT | property |
SOFTLIGHT:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get SOFTLIGHT():ColorBlendMode
SUBTRACT | property |
SUBTRACT:ColorBlendMode
[read-only] Since : | CS5 |
public static function get SUBTRACT():ColorBlendMode
VIVIDLIGHT | property |
VIVIDLIGHT:ColorBlendMode
[read-only] Since : | CS5 |
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.
public static function get VIVIDLIGHT():ColorBlendMode
ColorBlendMode | () | Constructor |
public function ColorBlendMode(ho:HostObject = null, enum:Number)
Since : | CS5 |
Constructor
Parametersho:HostObject (default = null ) — Enumerations value
| |
enum:Number (default = NaN )
|