BrushShader

Creates a DynamicShader out of a Brush.

Constructors

Link copied to clipboard
constructor(brush: Brush)

Functions

Link copied to clipboard
open override fun createShader(context: DrawContext, left: Float, top: Float, right: Float, bottom: Float): Shader
Link copied to clipboard
open override fun getColorAt(point: Point, context: DrawContext, bounds: RectF): Int
Link copied to clipboard
open override fun provideShader(context: DrawContext, left: Float, top: Float, right: Float, bottom: Float): Shader
open fun provideShader(context: DrawContext, bounds: RectF): Shader