property OnPixelCombine: TPixelCombineEvent;

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


This event is called when the bitmap is drawn in dmCustom draw mode. Use this event to customize handling of colors. Note, however, that this event is called for every pixel, so keeping the event handler small and fast is in your own interest.

See Also

Examples, DrawMode, Color Types, TPixelCombineEvent