You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
export default RenderBox;
|
|
declare class RenderBox extends Disposable {
|
|
/**
|
|
* @param {string} className CSS class name.
|
|
*/
|
|
constructor(className: string);
|
|
/**
|
|
* @type {import("../geom/Polygon.js").default}
|
|
* @private
|
|
*/
|
|
private geometry_;
|
|
/**
|
|
* @type {HTMLDivElement}
|
|
* @private
|
|
*/
|
|
private element_;
|
|
/**
|
|
* @private
|
|
* @type {import("../Map.js").default|null}
|
|
*/
|
|
private map_;
|
|
/**
|
|
* @private
|
|
* @type {import("../pixel.js").Pixel}
|
|
*/
|
|
private startPixel_;
|
|
/**
|
|
* @private
|
|
* @type {import("../pixel.js").Pixel}
|
|
*/
|
|
private endPixel_;
|
|
/**
|
|
* @private
|
|
*/
|
|
private render_;
|
|
/**
|
|
* @param {import("../Map.js").default|null} map Map.
|
|
*/
|
|
setMap(map: import("../Map.js").default | null): void;
|
|
/**
|
|
* @param {import("../pixel.js").Pixel} startPixel Start pixel.
|
|
* @param {import("../pixel.js").Pixel} endPixel End pixel.
|
|
*/
|
|
setPixels(startPixel: import("../pixel.js").Pixel, endPixel: import("../pixel.js").Pixel): void;
|
|
/**
|
|
* Creates or updates the cached geometry.
|
|
*/
|
|
createOrUpdateGeometry(): void;
|
|
/**
|
|
* @return {import("../geom/Polygon.js").default} Geometry.
|
|
*/
|
|
getGeometry(): import("../geom/Polygon.js").default;
|
|
}
|
|
import Disposable from "../Disposable.js";
|
|
//# sourceMappingURL=Box.d.ts.map
|