Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public OilPaintCommand(
	int brushWidth,
	int maxDensity,
	bool blendColorEdges,
	bool enhanceContrast
)

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
ExceptionCondition
Thrown if the brushWidth is less than or equal to 0, or if maxDensity is less than 0 or greater than 255.
See Also