Skip to content

hm5-types (source format) / MarkerType

Interface: MarkerType ​

Properties ​

PropertyTypeDescription
alpha?numberfill alpha of its markers on the canvas; absent = 0.6
colorstring"rrggbb"; a data tag's background
displayScale?numberarrow / hline / vline types (owner 2026-11-05): the canvas also shows each marker this many times as long (a dashed line to a second tip, the handle there) — display only, the stored length / angle stay the real ones (SCALE_SHAPES, markerDisplayScale)
fieldsMarkerField[]-
fromOrigin?booleanarrow / parabola / hline / vline types (owner 2026-11-05): every marker starts at the layer's origin (0, 0) — only its direction / length / velocity is its own (ORIGIN_SHAPES, markerGeometry)
idstring-
namestringshown on the canvas and in panels; the name scripts use (unique)
parabola?ParabolaSettingsparabola types only
shapeMarkerShape-
showValues?booleandata tags: list the values that differ from the defaults under the name (absent = true)
textColor?stringdata tags: the text colour "rrggbb"; absent = black / white by the background

HereSplash — 2D animation for the web