Skip to content

anim-format (runtime format) / markerHitShape

Function: markerHitShape() ​

ts
function markerHitShape(input, place?): HitShape;

A marker resolved to the space it is compared in: its geometry grown about its centre (centerScale), through its own matrix, then the placement. Resolve once and reuse when a marker is tested many times.

Parameters ​

ParameterType
input| MarkerData | PlacedMarker
place?MarkerPlacement

Returns ​

HitShape

HereSplash — 2D animation for the web