TPixelCombineEvent

Graphics32

TPixelCombineEvent

type TPixelCombineEvent = procedure(F: TColor32; var B: TColor32; M: TColor32) of object;

Desctiption

TPixelCombineEvent is a type for OnPixelCombine callback function. It specifies a function which takes foreground color (F) and blends it with the background (B). This function may optionally use master alpha value (M). Moreover, in dmCustom mode master alpha value does not necesserely have to be in [0…255] range anymore, you are free to use all its 32-bits.

See Also

TBitmap32.DrawMode, TBitmap32.OnPixelCombine, TColor32