Skip to content

anim-format (runtime format) / MarkerDataGeometry

Interface: MarkerDataGeometry ​

a marker's geometry as the editor stores it (see MarkerGeometry in the editor's document model): point / data: x, y; arrow: x, y (tail), angle (degrees, clockwise), length; hline / vline: x, y, length (signed); rect / ellipse: x, y (top-left), w, h; circle: x, y (centre), r; parabola: x, y (start), vx, vy (per frame); polygon: x, y + points (corners [x0, y0, x1, y1, …] relative to x, y) + cx / cy (its own centre relative to x, y, optional)

Properties ​

PropertyType
angle?number
cx?number
cy?number
h?number
length?number
points?readonly number[]
r?number
vx?number
vy?number
w?number
xnumber
ynumber

HereSplash — 2D animation for the web