pushColorFilter method

void 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

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