ImageEn, unit iexUserInteractions |
|
TIEBrushToolInteraction.BrushColor2
Declaration
property BrushColor2: TColor;
Description
Specifies the secondary (bottom) color of the brush gradient when
BrushFill is
iebfGradient.
Use
BrushGradient to specify the gradient style.
Default: clSilver
// Enable painting with a red/yellow gradient
ImageEnView1.BrushTool.BrushShape := iecsRectangle;
ImageEnView1.BrushTool.BrushFill := iebfGradient;
ImageEnView1.BrushTool.BrushSize := 50;
ImageEnView1.BrushTool.BrushColor := clRed;
ImageEnView1.BrushTool.BrushColor2 := clYellow;
ImageEnView1.BrushTool.BrushGradient := gpgDiagonal;
ImageEnView1.MouseInteractGeneral := [ miBrushTool ];