declare namespace AMap { namespace PathOverlay { interface EventMap extends ShapeOverlay.EventMap { } interface Options extends Overlay.Options { /** * 是否可见 */ visible?: boolean; /** * 覆盖物层级 */ zIndex?: number; /** * 描边线条颜色 */ strokeColor?: string; /** * 描边线条透明度 */ strokeOpacity?: number; /** * 描边宽度 */ strokeWeight?: number; /** * 描边样式 */ strokeStyle?: StrokeStyle; /** * 虚线间隔 */ strokeDasharray?: number[]; /** * 折线拐点的绘制样式 */ lineJoin?: StrokeLineJoin; /** * 折线两端线帽的绘制样式 */ lineCap?: StrokeLineCap; } } abstract class PathOverlay extends ShapeOverlay { constructor(options?: PathOverlay.Options); /** * 获取范围 */ getBounds(): Bounds | (this extends Rectangle ? undefined : null); } }