Brush

value class Brush(val brush: Brush) : HazeProgressive

A progressive effect which is derived by using the provided Brush as an alpha mask.

This allows custom effects driven from a brush. It could be using a bitmap shader, via a ShaderBrush or something more complex. The RGB values from the brush's pixels will be ignored, only the alpha values are used.

Constructors

Link copied to clipboard
constructor(brush: Brush)

Properties

Link copied to clipboard