UNPKG

@remotion/paths

Version:

Utilities for working with SVG paths

29 lines (28 loc) 1.42 kB
export { cutPath } from './cut-path'; export { evolvePath } from './evolve-path'; export { extendViewBox } from './extend-viewbox'; export { getBoundingBox } from './get-bounding-box'; export { getInstructionIndexAtLength } from './get-instruction-index-at-length'; export { getLength } from './get-length'; export { getPointAtLength } from './get-point-at-length'; export { getSubpaths } from './get-subpaths'; export { getTangentAtLength } from './get-tangent-at-length'; export { AbsoluteInstruction, BoundingBox, Instruction, Part, ReducedInstruction, } from './helpers/types'; export { interpolatePath } from './interpolate-path/interpolate-path'; export { normalizePath } from './normalize-path'; export { parsePath } from './parse-path'; export { reduceInstructions } from './reduce-instructions'; export { resetPath } from './reset-path'; export { reversePath } from './reverse-path'; export { scalePath } from './scale-path'; export { serializeInstructions } from './serialize-instructions'; export { translatePath } from './translate-path'; export { warpPath, WarpPathFn } from './warp-path'; export declare const PathInternals: { getBoundingBoxFromInstructions: (instructions: import("./helpers/types").ReducedInstruction[]) => import("./helpers/types").BoundingBox; debugPath: (d: string) => { d: string; color: string; }[]; cutPath: (d: string, length: number) => string; };