createShader

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

Called when new instance of Shader must be created, as the left, top, right, and bottom bounds have changed or there is no cached Shader.