Enumeration
BlendMode
Blend mode options.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1668246642 | readonly | 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. | |
| Number = 2020625768 | readonly | Darkens the base color to reflect the blend color. Note: Blending with white produces no change. | |
| Number = 2020625767 | readonly | Brightens the base color to reflect the blend color. Note: Blending with pure black produces no change. | |
| Number = 2020625769 | readonly | 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. | |
| Number = 2020625771 | readonly | 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. | |
| Number = 2020625772 | readonly | 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 | |
| Number = 2020625766 | readonly | 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. | |
| Number = 2020625773 | readonly | Creates a color with the luminance and saturation of the base color and the hue of the blend color. | |
| Number = 2020625770 | readonly | 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 | |
| Number = 2020625776 | readonly | 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. | |
| Number = 2020625762 | readonly | 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. | |
| Number = 1852797549 | readonly | Colors the object with the blend color, without interaction with the base color. | |
| Number = 2020625764 | readonly | 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. | |
| Number = 1380545377 | readonly | 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). | |
| Number = 2020625763 | readonly | 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. | |
| Number = 2020625765 | readonly | 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. |
Object of 16
Properties elsewhere that hold an BlendMode value.
BevelAndEmbossSetting.highlightBlendModeBevelAndEmbossSetting.shadowBlendModeBlendingSetting.blendModeDropShadowSetting.blendModeFindChangeBevelAndEmbossSetting.highlightBlendModeFindChangeBevelAndEmbossSetting.shadowBlendModeFindChangeBlendingSetting.blendModeFindChangeDropShadowSetting.blendModeFindChangeInnerGlowSetting.blendModeFindChangeInnerShadowSetting.blendModeFindChangeOuterGlowSetting.blendModeFindChangeSatinSetting.blendModeInnerGlowSetting.blendModeInnerShadowSetting.blendModeOuterGlowSetting.blendModeSatinSetting.blendMode