PeachDrawing.Core

PeachDrawing.Core.ColorMatrix

ColorMatrix.Compose(ColorMatrix) Method

Composes this matrix with appliedAfterThis, producing the single matrix equivalent to applying this first and then appliedAfterThis to the result - i.e. result.Apply(c) == appliedAfterThis.Apply(this.Apply(c)) for every color c. Affine composition: the linear parts multiply (order matters - the second transform’s matrix goes on the left), and the first transform’s offset is carried through the second transform’s linear part before the second transform’s own offset is added.

public PeachDrawing.Core.ColorMatrix Compose(PeachDrawing.Core.ColorMatrix appliedAfterThis);

Parameters

appliedAfterThis ColorMatrix

Returns

ColorMatrix