ImageEn, unit iexUserInteractions

TIEPenOptions.BrushSizeEnabled

TIEPenOptions.BrushSizeEnabled


Declaration

property BrushSizeEnabled: TIEEnabled;


Description

When enabled, pen pressure will affect the size of the brush, i.e. minimal pressure draws with a small brush (smaller than BrushSize), whereas more pressure draws with a bigger brush (larger than BrushSize).
If BrushSizeEnabled is enAuto (default), then holding down the Shift key will enable it.

Value Description
enFalse Pen pressure has no effect on brush size
enTrue Pen pressure affects brush size
enAuto Pen pressure affects brush size when the Shift key is pressed

The amount that the brush size is adjusted is controlled by BrushSizeStrength.

Note: This option is not supported by the Retouch Tool when using iermSmudge or iermMotionBlur

Default: enAuto (Alt key enables it)


Examples

// Brush size is affected by pressure of pen
ImageEnView1.BrushTool.PenEffects.BrushSizeEnabled := enTrue;

// Brush size is affected by pressure of pen only when Alt key is pressed
ImageEnView1.BrushTool.PenEffects.BrushSizeEnabled := enAuto;

// Pressure of pen has no effect on brush size
ImageEnView1.BrushTool.PenEffects.BrushSizeEnabled := enFalse;