UNPKG

@antv/util

Version:

<h1 align="center">@antv/util</h1>

7 lines (6 loc) 237 B
import type { PathArray } from '../types'; /** * Rounds the values of a `PathArray` instance to * a specified amount of decimals and returns it. */ export declare function roundPath(path: PathArray, round: number | 'off'): PathArray;