TCombineMode
type TCombineMode = (cmBlend, cmMerge);
Description
TCombineMode defines how drawing operations combine the foreground color with the background.
It also determines how a bitmap is combined with the background 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 more if you want to blend directly to the display buffer.
- 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).
See Also
TCustomBitmap32.DrawMode
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024