ColorizeCommand Constructor (Color, Boolean, Boolean, Boolean) |
Creates a new instance of ColorizeCommand specifying the base color and values indicating
whether to process the hue, saturation and luminance.
Namespace:
Atalasoft.Imaging.ImageProcessing.Filters
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public ColorizeCommand(
Color baseColor,
bool applyHue,
bool applySaturation,
bool applyLuminance
)
Public Sub New (
baseColor As Color,
applyHue As Boolean,
applySaturation As Boolean,
applyLuminance As Boolean
)
Parameters
- baseColor
- Type: System.DrawingColor
The color used for processing. - applyHue
- Type: SystemBoolean
Set to true to replace the pixel hue with the hue from baseColor. - applySaturation
- Type: SystemBoolean
Set to true to replace the pixel saturation with the saturation from
baseColor. - applyLuminance
- Type: SystemBoolean
Set to true to replace the pixel luminance with the luminance from baseColor.
See Also