UNPKG

svelte-motion

Version:

Svelte animation library based on the React library framer-motion.

14 lines (13 loc) 527 B
/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import { ResolvedValues } from "../../types"; /** * Build SVG path properties. Uses the path's measured length to convert * our custom pathLength, pathSpacing and pathOffset into stroke-dashoffset * and stroke-dasharray attributes. * * This function is mutative to reduce per-frame GC. */ export declare function buildSVGPath(attrs: ResolvedValues, totalLength: number, length: number, spacing?: number, offset?: number, useDashCase?: boolean): void;