LayerMixin.matte

The matte applied onto this layer, if any

LayerMixin.matte property

The matte applied onto this layer, if any

Signature:

matte?: Matte | undefined;

Example

// Create a matte
const matte: Matte = {
  layer: matteSource,
  inverted: false,
};

// Apply matte to layer
layer.matte = matte;
Last updated: August 5, 2026 at 11:47 AMEdit this page