Click or drag to resize

AdjustChannelCommand Constructor (Boolean, Double, Double, Double, Double)

Initializes a new instance of the AdjustChannelCommand class.

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

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.
channel3
Type: SystemDouble
Amount to adjust the third channel. Valid values are -100 to 100 when using percentage and -255 to 255 when using literal. This can be changed later via the Channel3 Property.
channel4
Type: SystemDouble
Amount to adjust the fourth channel. Valid values are -100 to 100 when using percentage and -255 to 255 when using literal. This can be changed later via the Channel4 Property.
See Also