Skip to main content
Version: Version 5 beta

Enumeration: BlendMode

Blend Mode controls how new content is painted and allows the new pixels to be affected by what has already been drawn.

Enumeration Members

add

add: 5

Commonly used to create an animated lightening dissolve effect between two images.


darken

darken: 2

Replaces only the areas that are lighter than the blend color. Areas darker than the blend color don’t change.


lighten

lighten: 3

Replaces only pixels that are darker than the blend color. Areas lighter than the blend color don’t change.


multiply

multiply: 1

Multiplies the base color by the blend color, resulting in darker colors.


normal

normal: 0

Applies color normally, with no interaction with the base colors.


screen

screen: 4

Multiplies the inverse of the blend color by the base color, resulting in a bleaching effect.


subtract

subtract: 6

Commonly used to create an animated darkening dissolve effect between two images.