| 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
◼Delphi/C++ 2005 or newer is required to use helper classes
Example
// Add a soft shadow to the bitmap image
MyBitmap.IEAddSoftShadow(3, 3, clWhite);
See Also
◼Advanced Helper Methods
◼All TBitmap Methods
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