OilPaintCommand Constructor (Int32, Int32) |
Creates a new instance of OilPaintCommand specifying brush width and max density.
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 OilPaintCommand(
int brushWidth,
int maxDensity
)
Public Sub New (
brushWidth As Integer,
maxDensity As Integer
)
Parameters
- brushWidth
- Type: SystemInt32
The width of the virtual brush. Must be greater than zero. - maxDensity
- Type: SystemInt32
The internal quantization level. (0 to 255)
Exceptions Exception | Condition |
---|
| Thrown if the brushWidth is less than or equal to 0, or if maxDensity is less than 0 or greater than
255. |
See Also