ImageEn, unit iexHelperFunctions |
|
TBitmapHelper.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 TBitmap.
Note: You must add the iexHelperFunctions unit to your uses clause
// Add a soft shadow to the bitmap image
MyBitmap.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