setBitmapShader method

void setBitmapShader(
  1. SymbolImage symbolImage
)

Sets the shader for this paint to a bitmap pattern.

The given symbolImage will not be disposed by this method.

Implementation

void setBitmapShader(SymbolImage symbolImage) {
  _shaderBitmap = symbolImage;
  _paint.shader = symbolImage.getShader();
}