Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public DropShadowCommand(
	Point offset,
	Color shadowColor,
	double blurLevel,
	bool increaseCanvas
)

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
ExceptionCondition
Thrown if 'blurLevel' is not greater than 0.
See Also