UNPKG

zrender

Version:

A lightweight graphic library providing 2d draw for Apache ECharts

8 lines (7 loc) 297 B
import { VectorArray } from '../../core/vector'; import PathProxy from '../../core/PathProxy'; export declare function buildPath(ctx: CanvasRenderingContext2D | PathProxy, shape: { points: VectorArray[]; smooth?: number; smoothConstraint?: VectorArray[]; }, closePath: boolean): void;