blend method

VxFilter blend(
  1. Color color,
  2. BlendMode blendMode
)

Returns the color filter mode after blending with a given color and blend mode.

Implementation

VxFilter blend(Color color, BlendMode blendMode) {
  _isColorModeOn = true;
  _colorModeColor = color;
  _blendMode = blendMode;
  return this;
}