Click or drag to resize

RoundedBevelCommand Constructor (Int32, Int32, Single, Color, Color)

Construct a new RoundedBevelCommand with the depth, angle and softness provided. Highlights and shadows will be created with the provided colors.

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 RoundedBevelCommand(
	int depth,
	int angle,
	float softness,
	Color highlight,
	Color shadow
)

Parameters

depth
Type: SystemInt32
The depth of the embossing effect. Must be greater than 0.
angle
Type: SystemInt32
The angle of the embossing in degrees. (0 to 359)
softness
Type: SystemSingle
Sets the softness of the mask constructed to build the embossed shaped. (0.0 to 1.0)
highlight
Type: System.DrawingColor
The color that will used for applying highlights.
shadow
Type: System.DrawingColor
Sets or gets the color used for shadowing.
Exceptions
ExceptionCondition
Thrown if an argument is out of its specified range.
See Also