ImageEn, unit iexLayers

TIELayer.SoftShadow

TIELayer.SoftShadow


Declaration


property SoftShadow: TIEVSoftShadow;


Description


Enables and sets the properties of the layer shadow.

Notes:
- Shadows cannot be enabled for the background layer (layer 0)
- Anti-aliased curves may be affected by adding a soft shadow (looking more blocky or showing color artifacts). Use LayerShadowAlphaThreshold to lessen this effect


Example


// Display a soft shadow effect for the current layer
ImageEnView1.CurrentLayer.SoftShadow.Enabled := True;
ImageEnView1.Update();




See Also


- LayersFastDrawing
- LayerShadowAlphaThreshold