← back to roto on ba3a.dev

MaskBrush

object MaskBrush

Applies BrushStrokes to a mask: pure, so the same strokes always give the same mask.

Functions

Link copied to clipboard
fun apply(mask: Mask, strokes: List<BrushStroke>): Mask

mask with strokes applied in order, whatever frame they name; mask itself is left as it was.