pushShaderMask method
Pushes a shader mask operation onto the operation stack.
The given shader is applied to the object's rasterization in the given rectangle using the given blend mode.
See pop for details about the operation stack.
Implementation
void pushShaderMask(Shader shader, Rect maskRect, BlendMode blendMode) {
_pushShaderMask(shader,
maskRect.left,
maskRect.right,
maskRect.top,
maskRect.bottom,
blendMode.index);
}