This method adds a drop shadow to an image.
Syntax
'Declaration
Public Shared Sub DropShadow( _
ByVal As ImGearRasterPage, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As ImGearPixel, _
ByVal 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 ,
int ,
int ,
int ,
ImGearPixel ,
ImGearPixel
)
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.
See Also