UNPKG

@obliczeniowo/elementary

Version:
11 lines (10 loc) 384 B
import { SvgGroup } from './svg-group'; import { Style } from './Style'; import { Point2D } from '@obliczeniowo/elementary/classes'; export declare class SvgPolyline { svg: SVGPolylineElement; points: Point2D[]; constructor(id: string, style: Style, svgContainer: SVGElement | SvgGroup, type?: string); addPoint(x: number, y: number): void; clearPoints(): void; }