Class

ShaderBrush

Brush implementation that wraps and applies a the provided shader to a Paint The shader can be lazily created based on a given size, or provided directly as a parameter

Source set: Common
public abstract class ShaderBrush() : Brush()

Brush implementation that wraps and applies a the provided shader to a Paint The shader can be lazily created based on a given size, or provided directly as a parameter

Properties

transform

Source set: Common
public var transform: Matrix? = null

A transformation matrix for the shader.

Functions

createShader

Source set: Common
public abstract fun createShader(size: Size): Shader
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: