Function add_mask

Source
fn add_mask(project: &mut Project, clip: u64, shape: MaskShape) -> bool
Expand description

Give the clip’s last effect a mask, or the clip itself when it has no effects. False = there is one already, or the clip is audio (a mask shapes pixels, and audio has none).