pushColorFilter method

EngineLayer pushColorFilter (Color color, BlendMode blendMode)

Pushes a color filter operation onto the operation stack.

The given color is applied to the objects' rasterization using the given blend mode.

See pop for details about the operation stack.

Implementation

EngineLayer pushColorFilter(Color color, BlendMode blendMode) {
  return _pushColorFilter(color.value, blendMode.index);
}