Click or drag to resize

AdjustChannelCommand Constructor (Boolean, Double, Double)

Initializes a new instance of the AdjustChannelCommand class.

Namespace:  Atalasoft.Imaging.ImageProcessing.Channels
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public AdjustChannelCommand(
	bool adjustByPercentage,
	double channel1,
	double channel2
)

Parameters

adjustByPercentage
Type: SystemBoolean
Determines if the channel values are considered a percentage rather than a literal value.
channel1
Type: SystemDouble
Amount to adjust the first channel. Valid values are -100 to 100 when using percentage and -255 to 255 when using literal. This can be changed later via the Channel1 Property.
channel2
Type: SystemDouble
Amount to adjust the second channel. Valid values are -100 to 100 when using percentage and -255 to 255 when using literal. This can be changed later via the Channel2 Property.
See Also