ShaderBrush

open class ShaderBrush : Brush
kotlin.Any
   ↳ androidx.ui.graphics.ShaderBrush

Brush implementation that wraps and applies a the provided shader to a Paint

Summary

Public constructors

<init>(shader: Shader)

Brush implementation that wraps and applies a the provided shader to a Paint

Public methods

open Unit

Properties

Shader

Public constructors

<init>

ShaderBrush(shader: Shader)

Brush implementation that wraps and applies a the provided shader to a Paint

Public methods

applyTo

open fun applyTo(p: Paint): Unit

Properties

shader

val shader: Shader