cue.draw

cue.drawNode

Presence, drawn rather than faded: strokes are drawn along their own length and fills arrive as the stroke completes. Anything with no stroke to draw fades instead.

#Attributes

Anchor: a step index (1), a time (1.5s), or a compound offset (1 + 500ms). Reveals at this anchor.Can be written as shorthand: cue.draw:value
Defaultnone
Anchor: a step index (1), a time (1.5s), or a compound offset (1 + 500ms). Hides at this anchor.
Defaultnone
in-duration
How long the drawing takes.
Default1500ms
out-duration
How long the undrawing takes.
Default1500ms
easing
linearsmooth
Easing function.
Defaultsmooth

#Allowed content

#Allowed in

#Examples

cue.draw{
    curve(expression: x^2)
}(
    in: 1
)
cue.draw{
    line(x: 0, 2; y: 0, 2)
}(
    in: 1
    in-duration: 900ms
)