provideShader

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

Creates a Shader by using the provided bounds.


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

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