property CombineMode: TCombineMode;
type TCombineMode = (cmBlend, cmMerge);
Description
TCombineMode defines how drawing operations on the bitmap combine
the foreground color with the background.
It also determines how the bitmap is combined with the background of another bitmap when DrawMode is
set to dmBlend.
- cmBlend - Fast blending of foreground color with the background color using the supplied alpha. This
method is not suited for working and preserving alpha-channels. Use this if you want to blend directly to the display
buffer. Internally uses Blend and BlendEx routines.
- cmMerge - Uses a completely different formula that also merges the alpha-channels. This mode is slower
than blending but is suited for working with alpha-channels (eg. when composing in temporary buffers). Internally uses Merge and MergeEx routines.
[See also]: Draw, DrawTo