ImageEn, unit iexUserInteractions

TIEBrushToolInteraction.EraserColor

TIEBrushToolInteraction.EraserColor


Declaration

property EraserColor: TColor;


Description

Specify the color that is applied to the image if BrushFill is iebfEraser.
Set to clNone to avoid colorizing the image (only the alpha channel is affected).
Set to clDefault to use the Background of the TImageEnView.



Default: clDefault


Example

// Set cursor as an eraser which does NOT colorize the image
ImageEnView1.BrushTool.BrushFill     := iebfEraser;
ImageEnView1.BrushTool.EraserOpacity := 1.0;
ImageEnView1.BrushTool.EraserColor   := clNone;
ImageEnView1.MouseInteractGeneral    := [ miBrushTool ];


See Also

 EraserOpacity