Appearance
anim-format (runtime format) / HitShape
Type Alias: HitShape
ts
type HitShape = (
| {
kind: "none";
}
| {
kind: "point";
p: MarkerPoint;
}
| {
kind: "path";
pts: MarkerPoint[];
}
| {
kind: "area";
pts: MarkerPoint[];
}) & object;a marker resolved to the space it is compared in (markerHitShape)
Type Declaration
| Name | Type |
|---|---|
bounds | MarkerBounds | null |
center | MarkerPoint |