Appearance
anim-format (runtime format) / markerGeometryCenter
Function: markerGeometryCenter()
ts
function markerGeometryCenter(
shape,
g,
parabola?
): MarkerPoint;a marker's centre in its layer space (THE rule: document markerCenter) — a polygon's own centre, else its area's centroid; an arrow / line / point / circle: its x, y; else the middle of its box
Parameters
| Parameter | Type |
|---|---|
shape | string |
g | MarkerDataGeometry |
parabola? | MarkerParabola |