provideShader

open fun provideShader(context: DrawingContext, bounds: RectF): Shader

Creates a Shader by using the provided bounds.


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

Creates a Shader by using the provided left, top, right, and bottom bounds.