ColorMatrixFilter.grayscale constructor

ColorMatrixFilter.grayscale()

Implementation

ColorMatrixFilter.grayscale()
    : this([
        0.213,
        0.715,
        0.072,
        0,
        0.213,
        0.715,
        0.072,
        0,
        0.213,
        0.715,
        0.072,
        0,
        0,
        0,
        0,
        1
      ], [
        0,
        0,
        0,
        0
      ]);