BevelEdgeCommand Constructor (Int32, Double, Double, Double, Double, Double) |
Creates a new instance of BevelEdgeCommand specifying the bevel size and brightness levels.
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 BevelEdgeCommand(
int bevelSize,
double leftBrightness,
double topBrightness,
double rightBrightness,
double bottomBrightness,
double smoothFactor
)
Public Sub New (
bevelSize As Integer,
leftBrightness As Double,
topBrightness As Double,
rightBrightness As Double,
bottomBrightness As Double,
smoothFactor As Double
)
Parameters
- bevelSize
- Type: SystemInt32
Size of the bevel along the edge, in pixels. - leftBrightness
- Type: SystemDouble
Brightness level of the left facet. (0-255) - topBrightness
- Type: SystemDouble
Brightness level of the top facet. (0-255) - rightBrightness
- Type: SystemDouble
Brightness level of the right facet. (0-255) - bottomBrightness
- Type: SystemDouble
Brightness level of the bottom facet. (0-255) - smoothFactor
- Type: SystemDouble
Smooth the bevel edge. (0-500)
Exceptions Exception | Condition |
---|
| Thrown if any of the arguments are invalid. |
See Also