Blend Mode
List of blending modes available for the annotations that can be set by setBlendMode.
Entries
B(cb,cs) = cb×cs Multiplies the backdrop and source colour values. The result colour is always at least as dark as either of the two constituent colours. Multiplying any colour with black produces black; multiplying with white leaves the original colour unchanged. Painting successive overlapping objects with a colour other than black or white produces progressively darker colours.
B(cb,cs) = 1 – [(1–cb)×(1–cs)] = cb + cs – (cb × cs) Multiplies the complements of the backdrop and source colour values, then complements the result. The result colour is always at least as light as either of the two constituent colours. Screening any colour with white produces white; screening with black leaves the original colour unchanged. The effect is similar to projecting multiple photographic slides simultaneously onto a single screen.
B(cb, cs) = HardLight(cs, cb) Multiplies or screens the colours, depending on the backdrop colour value. Source colours overlay the backdrop while preserving its highlights and shadows. The backdrop colour is not replaced but is mixed with the source colour to reflect the lightness or darkness of the backdrop.
Brightens the backdrop colour to reflect the source colour. Painting with black produces no changes.
Darkens the backdrop colour to reflect the source colour. Painting with white produces no change.
Darkens or lightens the colours, depending on the source colour value. The effect is similar to shining a diffused spotlight on the backdrop.
Multiplies or screens the colours, depending on the source colour value. The effect is similar to shining a harsh spotlight on the backdrop.
B(cb,cs) = cb–cs Subtracts the darker of the two constituent colours from the lighter colour: Painting with white inverts the backdrop colour; painting with black produces no change.