ConstReadonlyCLEAR: 0clear destination layer (bounded)
ReadonlyCOLOR_BURN: 18darkens the destination color to reflect the source color.
ReadonlyCOLOR_DODGE: 17brightens the destination color to reflect the source color.
ReadonlyDARKEN: 15replaces the destination with the source if it is darker, otherwise keeps the source.
ReadonlyDEST: 2ignore the source
ReadonlyDEST_ATOP: 10leave destination on top of source content and only there (unbounded)
ReadonlyDEST_IN: 6leave destination only where there was source content (unbounded)
ReadonlyDEST_OUT: 8leave destination only where there was no source content
ReadonlyDEST_OVER: 4draw destination on top of source
ReadonlyDIFFERENCE: 21Takes the difference of the source and destination color.
ReadonlyEXCLUSION: 22Produces an effect similar to difference, but with lower contrast.
ReadonlyHARD_LIGHT: 19Multiplies or screens, dependent on source color.
ReadonlyHSL_COLOR: 26Creates a color with the hue and saturation of the source and the luminosity of the target. This preserves the gray levels of the target and is useful for coloring monochrome images or tinting color images.
ReadonlyHSL_HUE: 24Creates a color with the hue of the source and the saturation and luminosity of the target.
ReadonlyHSL_LUMINOSITY: 27Creates a color with the luminosity of the source and the hue and saturation of the target. This produces an inverse effect to PaintCompositeMode.HSL_COLOR.
ReadonlyHSL_SATURATION: 25Creates a color with the saturation of the source and the hue and luminosity of the target. Painting with this mode onto a gray area produces no change.
ReadonlyLIGHTEN: 16replaces the destination with the source if it is lighter, otherwise keeps the source.
ReadonlyMULTIPLY: 23source and destination layers are multiplied. This causes the result to be at least as dark as the darker inputs.
ReadonlyOVERLAY: 14multiplies or screens, depending on the lightness of the destination color.
ReadonlyPLUS: 12source and destination layers are accumulated
ReadonlySCREEN: 13source and destination are complemented and multiplied. This causes the result to be at least as light as the lighter inputs.
ReadonlySOFT_LIGHT: 20Darkens or lightens, dependent on source color.
ReadonlySRC: 1replace destination layer (bounded)
ReadonlySRC_ATOP: 9draw source on top of destination content and only there
ReadonlySRC_IN: 5draw source where there was destination content (unbounded)
ReadonlySRC_OUT: 7draw source where there was no destination content (unbounded)
ReadonlySRC_OVER: 3draw source layer on top of destination layer (bounded)
ReadonlyXOR: 11source and destination are shown where there is only one of them
The values of this enumeration describe the compositing modes that can be used when combining temporary redirected drawing with the backdrop.
See the OpenType spec COLR section for details.