DropShadowCommand Constructor (Point, Color, Double, Boolean) |
Initialize a new instance of DropShadowCommand specifying offset, shadowColor, blurLevel
and increaseCanvas.
Namespace:
Atalasoft.Imaging.ImageProcessing.Effects
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public DropShadowCommand(
Point offset,
Color shadowColor,
double blurLevel,
bool increaseCanvas
)
Public Sub New (
offset As Point,
shadowColor As Color,
blurLevel As Double,
increaseCanvas As Boolean
)
Parameters
- offset
- Type: System.DrawingPoint
The number of pixels to offset the the shadow. - shadowColor
- Type: System.DrawingColor
The color to use for the shadow. - blurLevel
- Type: SystemDouble
The amount of blur to add to the shadow. - increaseCanvas
- Type: SystemBoolean
A value to indicate if you want the canvas to be increased to include the shadow.
Exceptions Exception | Condition |
---|
| Thrown if 'blurLevel' is not greater than 0. |
See Also