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.

The default shadow color is black. The image is automatically resized.

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
)
Public Sub AddSoftShadow ( _
	radius As Double, _
	offsetX As Integer, _
	offsetY As Integer _
)
public:
void AddSoftShadow(
	double radius, 
	int offsetX, 
	int offsetY
)

Parameters

radius
Double
Radius-Intensity of the shadow
offsetX
Int32
Horizontal offset
offsetY
Int32
Vertical offset

See Also