ImageGear for .NET
DropShadow Method




Image to apply drop shadow effect to.
Width of background and shadow area to add to the image.
Distance to move image from shadow area.
Angle (direction) of movement of image from shadow area.
Color of shadow area.
Color of background.
This method adds a drop shadow to an image.
Syntax
'Declaration
 
Public Shared Sub DropShadow( _
   ByVal page As ImGearRasterPage, _
   ByVal width As Integer, _
   ByVal distance As Integer, _
   ByVal angle As Integer, _
   ByVal insideColor As ImGearPixel, _
   ByVal outsideColor As ImGearPixel _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim width As Integer
Dim distance As Integer
Dim angle As Integer
Dim insideColor As ImGearPixel
Dim outsideColor As ImGearPixel
 
ImGearEffects.DropShadow(page, width, distance, angle, insideColor, outsideColor)
public static void DropShadow( 
   ImGearRasterPage page,
   int width,
   int distance,
   int angle,
   ImGearPixel insideColor,
   ImGearPixel outsideColor
)
public: static void DropShadow( 
   ImGearRasterPage* page,
   int width,
   int distance,
   int angle,
   ImGearPixel* insideColor,
   ImGearPixel* outsideColor
) 
public:
static void DropShadow( 
   ImGearRasterPage^ page,
   int width,
   int distance,
   int angle,
   ImGearPixel^ insideColor,
   ImGearPixel^ outsideColor
) 

Parameters

page
Image to apply drop shadow effect to.
width
Width of background and shadow area to add to the image.
distance
Distance to move image from shadow area.
angle
Angle (direction) of movement of image from shadow area.
insideColor
Color of shadow area.
outsideColor
Color of background.
Remarks
The image is enlarged to contain a background and shadowed area.
See Also

Reference

ImGearEffects Class
ImGearEffects Members
ImGearRasterPage Class
ImGearPixel Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback