ImageEn, unit iexUserInteractions

TIEBrushToolInteraction.BrushRotate

TIEBrushToolInteraction.BrushRotate


Declaration

property BrushRotate: Double;


Description

Specifies the rotation of the brush.

Note: BrushRotate only has effect if BrushFill is iebfSolid, iebfGradient or iebfImage

Default: 0


Example

// Enable painting with an angled circular brush
ImageEnView1.BrushTool.BrushShape := iecsCircle;
ImageEnView1.BrushTool.BrushFill := iebfSpray;
ImageEnView1.BrushTool.BrushWidth := 40;
ImageEnView1.BrushTool.BrushHeight := 15;
ImageEnView1.BrushTool.BrushRotate := 30;
ImageEnView1.BrushTool.BrushColor := clRed;
ImageEnView1.MouseInteractGeneral := [ miBrushTool ];