ImageEn, unit imageenview

TImageEnView.MakeSelectionFeather

TImageEnView.MakeSelectionFeather


Declaration

procedure MakeSelectionFeather(Radius: Double);


Description

Modifies the current selection by applying a blur effect to make soften the borders.
Radius specifies the feathering intensity (amount of blur).



Note: If SelectionMaskDepth is 1 bit, it will be promoted to 8 bit.


Demo

Demo  Demos\ImageEditing\SoftSelections\SoftSel.dpr


Example

ImageEnView1.SelectionMaskDepth := 8;
ImageEnView1.Select( 10, 10, 100, 100 );
ImageEnView1.MakeSelectionFeather( 4 );




See Also

MakeSelectionAntiAliased
SelectionMaskDepth