Edit command
addShapeClip
Places a shape: a clip with no media behind it that draws one figure over
the picture. It lands the way a title does, above the picture, and is
placed and scaled like a still, so setClipTransform and keyframes work
on it.
Fields
namestringrequiredWhat the lane calls it: the figure's name in the interface's language, which the document cannot know.
startnumberrequiredTimeline position in seconds, floored at 0.
abovebooloptional · default falseSee
addTextClip.durationnumberoptionalSeconds on the timeline; the editorial default when absent.
The figure and its paint. None means
ShapeStyle.trackIdstringoptionalThe lane to place it on; None picks a lane as
abovesays, asaddTextClipdoes.
{
"op": "addShapeClip",
"above": true,
"start": 2,
"duration": 3,
"style": {
"kind": "arrow",
"width": 0.2,
"stroke": "#ffcc00",
"strokeWidth": 0.02
},
"name": "Arrow"
}The figures are listed under ShapeKind, and everything a shape can wear (fill, gradient, outline, corners, line heads, trim, shadow) under ShapeStyle.