Add a soft shadow (Gaussian Shadow) to the image. The intensity comes from radius parameter (>0), and the light effect from OffsetX and OffsetY.

AddSoftShadow creates the shadow effect using the image alpha channel (create it if not exist), the to see the effect you should set IEViewer.EnableAlphaChannel to True.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void AddSoftShadow(
	double radius,
	int offsetX,
	int offsetY,
	bool adaptSize,
	IERGB color
)
Public Sub AddSoftShadow ( _
	radius As Double, _
	offsetX As Integer, _
	offsetY As Integer, _
	adaptSize As Boolean, _
	color As IERGB _
)
public:
void AddSoftShadow(
	double radius, 
	int offsetX, 
	int offsetY, 
	bool adaptSize, 
	IERGB color
)

Parameters

radius
Double
Radius-Intensity of the shadow
offsetX
Int32
Horizontal offset
offsetY
Int32
Vertical offset
adaptSize
Boolean
If adaptSize is true (the default) the image is resized to contain the shadow.
color
IERGB
This is the shadow color.

See Also