Skip to content

anim-format (runtime format) / markerDataCenter

Function: markerDataCenter() ​

ts
function markerDataCenter(input, place?): MarkerPoint;

a marker's centre in the compared space (a polygon's own centre when set)

Parameters ​

ParameterType
input| MarkerData | PlacedMarker
place?MarkerPlacement

Returns ​

MarkerPoint

HereSplash — 2D animation for the web