import { ScreenBounds } from "../common/screen-bounds"; import { ScreenXY } from "../common/screen-xy"; import { LineSymbol } from "./symbol"; /** * 简单线符号 * @remarks * 最常用的线符号 */ export declare class AlternateLineSymbol extends LineSymbol { color1: string; color2: string; alternate: number; /** * 绘制线 * @param {CanvasRenderingContext2D} ctx - 绘图上下文 * @param {ScreenXY[]} screenXYs - 线对应坐标点的屏幕坐标集合 */ draw(ctx: CanvasRenderingContext2D, screenXYs: ScreenXY[]): void; /** * 获取包络矩形 * @param {ScreenXY[]} screenXYs - 线对应坐标点的屏幕坐标集合 */ getScreenBounds(screenXYs: ScreenXY[]): ScreenBounds; }