ShaderBrush

Class

Common
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

Common
var transform: Matrix?

A transformation matrix for the shader.

Functions

abstract fun createShader(size: Size): Shader