Click or drag to resize

ShiftChannelsCommand Constructor (Int32, Int32, ChannelFlags, Int32)

Creates a new instance of ShiftChannelsCommand specifying offsetX, offsetY, channelsToProcess and backgroundValue.

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 ShiftChannelsCommand(
	int offsetX,
	int offsetY,
	ChannelFlags channelsToProcess,
	int backgroundValue
)

Parameters

offsetX
Type: SystemInt32
Number of pixels to horizontally offset the channels.
offsetY
Type: SystemInt32
Number of pixels to vertically offset the channels.
channelsToProcess
Type: Atalasoft.Imaging.ImageProcessingChannelFlags
The channels you want to shift.
backgroundValue
Type: SystemInt32
A value used for uncovered areas of the image. (0 - 255)
Exceptions
ExceptionCondition
Thrown if the backgroundValue is less than 0 or greater than 255.
See Also