Package | com.adobe.indesign |
Class | public class BlendMode |
Inheritance | BlendMode ![]() ![]() ![]() |
Since : | CS5 |
Property | Defined By | ||
---|---|---|---|
color : BlendMode [static] [read-only] Alias for COLOR. | BlendMode | ||
COLOR : BlendMode [static] [read-only]
Creates a color with the luminance of the base color and the hue and saturation of the blend color. | BlendMode | ||
colorBurn : BlendMode [static] [read-only] Alias for COLOR_BURN. | BlendMode | ||
COLOR_BURN : BlendMode [static] [read-only]
Darkens the base color to reflect the blend color. | BlendMode | ||
colorDodge : BlendMode [static] [read-only] Alias for COLOR_DODGE. | BlendMode | ||
COLOR_DODGE : BlendMode [static] [read-only]
Brightens the base color to reflect the blend color. | BlendMode | ||
darken : BlendMode [static] [read-only] Alias for DARKEN. | BlendMode | ||
DARKEN : BlendMode [static] [read-only]
Selects the darker of the base or blend colors as the resulting color; replaces areas lighter than the blend color but does not change areas darker than the blend color. | BlendMode | ||
difference : BlendMode [static] [read-only] Alias for DIFFERENCE. | BlendMode | ||
DIFFERENCE : BlendMode [static] [read-only]
Subtracts either the blend color from the base color or vice versa, depending on which has the greater brightness value. | BlendMode | ||
enumCache : CSEnumSharedCache [static] [read-only] | BlendMode | ||
exclusion : BlendMode [static] [read-only] Alias for EXCLUSION. | BlendMode | ||
EXCLUSION : BlendMode [static] [read-only]
Creates an effect similar to--but lower in contrast than--the difference blend mode. | BlendMode | ||
hardLight : BlendMode [static] [read-only] Alias for HARD_LIGHT. | BlendMode | ||
HARD_LIGHT : BlendMode [static] [read-only]
For blend colors lighter than 50% gray, lightens the artwork as if it were screened; for blend colors darker than 50% gray, darkens the artwork as if it were multiplied. | BlendMode | ||
![]() | hostObjectDelegate : HostObject Getter for the delegate | CSHostObject | |
hue : BlendMode [static] [read-only] Alias for HUE. | BlendMode | ||
HUE : BlendMode [static] [read-only]
Creates a color with the luminance and saturation of the base color and the hue of the blend color. | BlendMode | ||
lighten : BlendMode [static] [read-only] Alias for LIGHTEN. | BlendMode | ||
LIGHTEN : BlendMode [static] [read-only]
Selects the lighter of the base or blend colors as the resulting color; replaces areas darker than the blend color but does not change areas lighter than the blend color
| BlendMode | ||
luminosity : BlendMode [static] [read-only] Alias for LUMINOSITY. | BlendMode | ||
LUMINOSITY : BlendMode [static] [read-only]
Creates a color with the hue and saturation of the base color and the luminance of the blend color. | BlendMode | ||
multiply : BlendMode [static] [read-only] Alias for MULTIPLY. | BlendMode | ||
MULTIPLY : BlendMode [static] [read-only]
Multiplies the base color by the blend color, resulting in a darker color. | BlendMode | ||
normal : BlendMode [static] [read-only] Alias for NORMAL. | BlendMode | ||
NORMAL : BlendMode [static] [read-only]
Colors the object with the blend color, without interaction with the base color. | BlendMode | ||
overlay : BlendMode [static] [read-only] Alias for OVERLAY. | BlendMode | ||
OVERLAY : BlendMode [static] [read-only]
Multiplies or screens the colors, depending on the base color; patterns or colors overlay the existing artwork, preserving base color highlights and shadows while mixing in the blend color to reflect the lightness or darkness of the original color. | BlendMode | ||
saturation : BlendMode [static] [read-only] Alias for SATURATION. | BlendMode | ||
SATURATION : BlendMode [static] [read-only]
Creates a color with the luminance and hue of the base color and the saturation of the blend color. | BlendMode | ||
screen : BlendMode [static] [read-only] Alias for SCREEN. | BlendMode | ||
SCREEN : BlendMode [static] [read-only]
Multiplies the inverse of the blend and base colors, resulting in a lighter color. | BlendMode | ||
softLight : BlendMode [static] [read-only] Alias for SOFT_LIGHT. | BlendMode | ||
SOFT_LIGHT : BlendMode [static] [read-only]
For blend colors lighter than 50% gray, lightens the artwork as if it were dodged; for blend colors darker than 50% gray, darkens the artwork as if it were burned. | BlendMode | ||
![]() | value : Object [read-only]
Returns the numerical value
| CSEnumBase |
Method | Defined By | ||
---|---|---|---|
BlendMode(ho:HostObject = null, enum:Number)
Constructor
| BlendMode | ||
![]() | 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 |
color | property |
color:BlendMode
[read-only] Since : | CS5 |
Alias for COLOR. Creates a color with the luminance of the base color and the hue and saturation of the blend color. Note: Preserves gray levels and is useful for coloring monochrome images or tinting color images. Creates the inverse effect of the luminosity blend mode.
public static function get color():BlendMode
COLOR | property |
COLOR:BlendMode
[read-only] Since : | CS5 |
Creates a color with the luminance of the base color and the hue and saturation of the blend color. Note: Preserves gray levels and is useful for coloring monochrome images or tinting color images. Creates the inverse effect of the luminosity blend mode.
public static function get COLOR():BlendMode
COLOR_BURN | property |
COLOR_BURN:BlendMode
[read-only] Since : | CS5 |
Darkens the base color to reflect the blend color. Note: Blending with white produces no change.
public static function get COLOR_BURN():BlendMode
COLOR_DODGE | property |
COLOR_DODGE:BlendMode
[read-only] Since : | CS5 |
Brightens the base color to reflect the blend color. Note: Blending with pure black produces no change.
public static function get COLOR_DODGE():BlendMode
colorBurn | property |
colorBurn:BlendMode
[read-only] Since : | CS5 |
Alias for COLOR_BURN. Darkens the base color to reflect the blend color. Note: Blending with white produces no change.
public static function get colorBurn():BlendMode
colorDodge | property |
colorDodge:BlendMode
[read-only] Since : | CS5 |
Alias for COLOR_DODGE. Brightens the base color to reflect the blend color. Note: Blending with pure black produces no change.
public static function get colorDodge():BlendMode
darken | property |
darken:BlendMode
[read-only] Since : | CS5 |
Alias for DARKEN. Selects the darker of the base or blend colors as the resulting color; replaces areas lighter than the blend color but does not change areas darker than the blend color.
public static function get darken():BlendMode
DARKEN | property |
DARKEN:BlendMode
[read-only] Since : | CS5 |
Selects the darker of the base or blend colors as the resulting color; replaces areas lighter than the blend color but does not change areas darker than the blend color.
public static function get DARKEN():BlendMode
difference | property |
difference:BlendMode
[read-only] Since : | CS5 |
Alias for DIFFERENCE. Subtracts either the blend color from the base color or vice versa, depending on which has the greater brightness value. Note: Blending with white inverts the base color values; blending with black produces no change.
public static function get difference():BlendMode
DIFFERENCE | property |
DIFFERENCE:BlendMode
[read-only] Since : | CS5 |
Subtracts either the blend color from the base color or vice versa, depending on which has the greater brightness value. Note: Blending with white inverts the base color values; blending with black produces no change.
public static function get DIFFERENCE():BlendMode
enumCache | property |
enumCache:CSEnumSharedCache
[read-only] Since : | CS5 |
public static function get enumCache():CSEnumSharedCache
exclusion | property |
exclusion:BlendMode
[read-only] Since : | CS5 |
Alias for EXCLUSION. Creates an effect similar to--but lower in contrast than--the difference blend mode. Note: Blending with white inverts the base color values; blending with black produces no change
public static function get exclusion():BlendMode
EXCLUSION | property |
EXCLUSION:BlendMode
[read-only] Since : | CS5 |
Creates an effect similar to--but lower in contrast than--the difference blend mode. Note: Blending with white inverts the base color values; blending with black produces no change
public static function get EXCLUSION():BlendMode
HARD_LIGHT | property |
HARD_LIGHT:BlendMode
[read-only] Since : | CS5 |
For blend colors lighter than 50% gray, lightens the artwork as if it were screened; for blend colors darker than 50% gray, darkens the artwork as if it were multiplied. Note: Painting with pure black or white results in pure black or white.
public static function get HARD_LIGHT():BlendMode
hardLight | property |
hardLight:BlendMode
[read-only] Since : | CS5 |
Alias for HARD_LIGHT. For blend colors lighter than 50% gray, lightens the artwork as if it were screened; for blend colors darker than 50% gray, darkens the artwork as if it were multiplied. Note: Painting with pure black or white results in pure black or white.
public static function get hardLight():BlendMode
hue | property |
hue:BlendMode
[read-only] Since : | CS5 |
Alias for HUE. Creates a color with the luminance and saturation of the base color and the hue of the blend color.
public static function get hue():BlendMode
HUE | property |
HUE:BlendMode
[read-only] Since : | CS5 |
Creates a color with the luminance and saturation of the base color and the hue of the blend color.
public static function get HUE():BlendMode
lighten | property |
lighten:BlendMode
[read-only] Since : | CS5 |
Alias for LIGHTEN. Selects the lighter of the base or blend colors as the resulting color; replaces areas darker than the blend color but does not change areas lighter than the blend color
public static function get lighten():BlendMode
LIGHTEN | property |
LIGHTEN:BlendMode
[read-only] Since : | CS5 |
Selects the lighter of the base or blend colors as the resulting color; replaces areas darker than the blend color but does not change areas lighter than the blend color
public static function get LIGHTEN():BlendMode
luminosity | property |
luminosity:BlendMode
[read-only] Since : | CS5 |
Alias for LUMINOSITY. Creates a color with the hue and saturation of the base color and the luminance of the blend color. Note: Creates the inverse effect of the color blend mode.
public static function get luminosity():BlendMode
LUMINOSITY | property |
LUMINOSITY:BlendMode
[read-only] Since : | CS5 |
Creates a color with the hue and saturation of the base color and the luminance of the blend color. Note: Creates the inverse effect of the color blend mode.
public static function get LUMINOSITY():BlendMode
multiply | property |
multiply:BlendMode
[read-only] Since : | CS5 |
Alias for MULTIPLY. Multiplies the base color by the blend color, resulting in a darker color. Note: Multiplying with black produces black; multiplying with white leaves the color unchanged.
public static function get multiply():BlendMode
MULTIPLY | property |
MULTIPLY:BlendMode
[read-only] Since : | CS5 |
Multiplies the base color by the blend color, resulting in a darker color. Note: Multiplying with black produces black; multiplying with white leaves the color unchanged.
public static function get MULTIPLY():BlendMode
normal | property |
normal:BlendMode
[read-only] Since : | CS5 |
Alias for NORMAL. Colors the object with the blend color, without interaction with the base color.
public static function get normal():BlendMode
NORMAL | property |
NORMAL:BlendMode
[read-only] Since : | CS5 |
Colors the object with the blend color, without interaction with the base color.
public static function get NORMAL():BlendMode
overlay | property |
overlay:BlendMode
[read-only] Since : | CS5 |
Alias for OVERLAY. Multiplies or screens the colors, depending on the base color; patterns or colors overlay the existing artwork, preserving base color highlights and shadows while mixing in the blend color to reflect the lightness or darkness of the original color.
public static function get overlay():BlendMode
OVERLAY | property |
OVERLAY:BlendMode
[read-only] Since : | CS5 |
Multiplies or screens the colors, depending on the base color; patterns or colors overlay the existing artwork, preserving base color highlights and shadows while mixing in the blend color to reflect the lightness or darkness of the original color.
public static function get OVERLAY():BlendMode
saturation | property |
saturation:BlendMode
[read-only] Since : | CS5 |
Alias for SATURATION. Creates a color with the luminance and hue of the base color and the saturation of the blend color. Note: Does not change areas with no saturation (0% gray).
public static function get saturation():BlendMode
SATURATION | property |
SATURATION:BlendMode
[read-only] Since : | CS5 |
Creates a color with the luminance and hue of the base color and the saturation of the blend color. Note: Does not change areas with no saturation (0% gray).
public static function get SATURATION():BlendMode
screen | property |
screen:BlendMode
[read-only] Since : | CS5 |
Alias for SCREEN. Multiplies the inverse of the blend and base colors, resulting in a lighter color. Note: Screening with white produces white; screening with black leaves the color unchanged.
public static function get screen():BlendMode
SCREEN | property |
SCREEN:BlendMode
[read-only] Since : | CS5 |
Multiplies the inverse of the blend and base colors, resulting in a lighter color. Note: Screening with white produces white; screening with black leaves the color unchanged.
public static function get SCREEN():BlendMode
SOFT_LIGHT | property |
SOFT_LIGHT:BlendMode
[read-only] Since : | CS5 |
For blend colors lighter than 50% gray, lightens the artwork as if it were dodged; for blend colors darker than 50% gray, darkens the artwork as if it were burned. Note: 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 SOFT_LIGHT():BlendMode
softLight | property |
softLight:BlendMode
[read-only] Since : | CS5 |
Alias for SOFT_LIGHT. For blend colors lighter than 50% gray, lightens the artwork as if it were dodged; for blend colors darker than 50% gray, darkens the artwork as if it were burned. Note: 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():BlendMode
BlendMode | () | Constructor |
public function BlendMode(ho:HostObject = null, enum:Number)
Since : | CS5 |
Constructor
Parametersho:HostObject (default = null ) — Enumerations value
| |
enum:Number (default = NaN )
|