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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public RoundedBevelCommand(
int depth,
int angle,
float softness,
Color highlight,
Color shadow
)
Public Sub New (
depth As Integer,
angle As Integer,
softness As Single,
highlight As Color,
shadow As Color
)
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 Exception | Condition |
---|
| Thrown if an argument is out of its specified range. |
See Also