ImageEn, unit imageenview

TImageEnView.MakeSelectionAntiAliased

TImageEnView.MakeSelectionAntiAliased


Declaration

procedure MakeSelectionAntiAliased(Filter : TResampleFilter = rfLinear);


Description

Modifies the current selection by smoothing the edges with an anti-aliasing effect.

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.SelectEllipse( 100, 100, 20, 20 );
ImageEnView1.MakeSelectionAntiAliased();


See Also

 MakeSelectionFeather
 SelectionMaskDepth