ImageEn, unit iexHelperFunctions

TIEBitmapHelper.IEAddSoftShadow

TIEBitmapHelper.IEAddSoftShadow


Declaration

procedure IEAddSoftShadow(iBlurRadius: integer;
                          iShadowOffset : Integer;
                          cBGColor: TColor;
                          Position: TIEShadowPosition = iespBottomRight;
                          cShadowColor: TColor = clBlack);


Description

Calls AddSoftShadow to add a soft shadow to an image in a TIEBitmap.

Note: You must add the iexHelperFunctions unit to your uses clause


Example

// Add a soft shadow to the bitmap image
MyIEBitmap.IEAddSoftShadow(3, 3, clWhite);


Compatibility Information

In v13.0.0, the LightOrigin parameter (of type TLightOrigin) was changed to "Shadow Position " (of type TIEShadowPosition).
The following substitutions should be made in your code:
  _loTopLeft => iespBottomRight
  _loTopRight => iespBottomLeft
  _loBottomLeft => iespTopRight
  _loBottomRight => iespTopLeft