Contents

invertColorMatrix(withTolerance:)

Inverts the matrix if possible.

Declaration

func invertColorMatrix(withTolerance tolerance: Double) -> Bool

Parameters

  • tolerance:

    A threshold for determining whether inversion is possible. If set to 0, then inversion will only fail if the determininant of the matrix is exactly 0.0.

Return Value

true if the invert succeeded; otherwise false.

See Also

Transforming the Matrix