/** * Polyline 多点线段 * * ```javascript * new G.Shape.Polyline({ * attrs: { * points: [ * {x: 100, y: 100}, * {x: 200, y: 200}, * {x: 300, y: 300} * ], * smooth: true | false, // 是否转曲线,默认为 false,绘制曲线时使用 * stroke: 'red' // html5 canvas 绘图属性 * lineWidth: 1, // html5 canvas 绘图属性 * } */ import Shape from './shape'; declare class PolyLine extends Shape { draw(): void; } export default PolyLine;