This documentation is for the old version. Go to the latest Graphics Mill docs

SwapChannels Constructor (Int32[])

Creates and initializes SwapChannels class instance.

Namespace: Aurigma.GraphicsMill.Transforms
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


Visual Basic
Public Sub New ( _
	channels As Integer() _
public SwapChannels(
	int[] channels



Type: System.Int32 []

An array of channel indices sorted in the necessary order. E.g. if you need to swap blue and green channel in RGB bitmap, this array will be looking in the following way: (1, 0, 2). If this array entries are sorted in ascending order, transform will do nothing. You can change it later through ChannelsOrder property.

See Also