filter.Grayscale

filter. filter.Grayscale

new filter.Grayscale(scaleFactor,)

Grayscale filter.
Parameters:
Name Type Description
scaleFactor, mixed number, 0 - 1. If omitted, defaultValue is 1.
Example
var f = new filter.Grayscale();
   var f = new filter.Grayscale(1);