ImageEn, unit iexUserInteractions

TIECloneToolInteraction.BrushShape

TIECloneToolInteraction.BrushShape


Declaration

property BrushShape: TIECursorShape;


Description

Specifies the shape of the area that is cloned.

Note:
 iecsRoundRect is not supported. if iecsDefault is specified, iecsCircle will be used
 You must call TImageEnView.Invalidate if you change this property when the Clone selection is visible

Default: iecsCircle


Example

// Use rectangular cursor
ImageEnView1.CloneTool.BrushShape := iecsRectangle;
ImageEnView1.Invalidate();

// Make larger, circle cursor
ImageEnView1.CloneTool.BrushShape := iecsCircle;
ImageEnView1.CloneTool.BrushSize := 60;
ImageEnView1.Invalidate();