OilPaintCommand Constructor (Int32, Int32, Boolean, Boolean) |
Creates a new instance of OilPaintCommand specifying the brush width, max density, color
edges and contrast enhancement.
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,
bool blendColorEdges,
bool enhanceContrast
)
Public Sub New (
brushWidth As Integer,
maxDensity As Integer,
blendColorEdges As Boolean,
enhanceContrast As Boolean
)
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) - blendColorEdges
- Type: SystemBoolean
A value indicating whether the edges use color blending. - enhanceContrast
- Type: SystemBoolean
A value indicating whether the image contrast is enhanced.
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