project/node_modules/zrender/lib/graphic/helper/poly.d.ts

8 lines
297 B
TypeScript

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;