import { Bound } from "../util/bound"; import { Projection } from "../projection/projection"; export declare class Raster { private _canvas; private _bound; get dynamic(): boolean; get canvas(): HTMLCanvasElement; get bound(): Bound; /** * 创建栅格 * @remarks * 遍历图形集合进行绘制 * @param {number} xmin - 经度左值 * @param {number} ymin - 纬度下值 * @param {number} xmax - 经度右值 * @param {number} ymax - 纬度上值 * @param {number} width - 栅格宽度 * @param {number} height - 栅格高度 * @param {number} cellsize - 栅格大小 */ constructor(xmin: any, ymin: any, xmax: any, ymax: any, width?: number, height?: number); /** * 绘制栅格 * @remarks * 遍历图形集合进行绘制 * @param {CanvasRenderingContext2D} ctx - 绘图上下文 * @param {Projection} projection - 坐标投影转换 * @param {Bound} extent - 当前可视范围 * @param {number} zoom - 当前缩放级别 */ draw(ctx: CanvasRenderingContext2D, projection?: Projection, extent?: Bound, zoom?: number): void; }