getShader

abstract fun getShader(context: DrawingContext, left: Float, top: Float, right: Float, bottom: Float): Shader

Returns a Shader for the given bounds.