Edit command

addCutoutStroke

Paints one brush stroke onto a clip's cutout. A clip with no cutout gets a custom one; an automatic cutout becomes custom.

Fields

  • clipIdstringrequired

    The clip. An unknown id is a no-op.

  • strokeStrokerequired

    The stroke, in source fractions.

A stroke with no points is a no-op.