| ImageEn, unit iexUserInteractions |  | 
 
TIEBrushToolInteraction.BrushGradient
 
Declaration
property BrushGradient: TIEGDIPlusGradient;
Description
Specifies the style of the paint brush gradient.
Use 
BrushColor and 
BrushColor2 to specify the gradient colors.
 
Default: gpgVertical
// Enable painting with a red/yellow gradient
ImageEnView1.BrushTool.BrushShape    := iecsRectangle;
ImageEnView1.BrushTool.BrushFill     := iebfGradient;
ImageEnView1.BrushTool.BrushGradient := gpgDiagonal;
ImageEnView1.BrushTool.BrushSize     := 50;
ImageEnView1.BrushTool.BrushColor    := clRed;
ImageEnView1.BrushTool.BrushColor2   := clYellow;
ImageEnView1.MouseInteractGeneral    := [ miBrushTool ];
