import { XYBounds } from './bounds'; import { PlaneXY } from './plane-xy'; /** * 平面坐标范围 * @remark Represents a rectangular area in plane coordinates. */ export declare class PlaneBounds extends XYBounds { /** * 最小平面坐标 * @remark The top left corner of the rectangle. */ min: PlaneXY; /** * 最大平面坐标 * @remark The bottom right corner of the rectangle. */ max: PlaneXY; /** * 构造函数 * @param {PlaneXY | PlaneXY[]} a - 平面坐标或平面坐标数组 * @param {PlaneXY} b - 平面坐标 */ constructor(a?: PlaneXY | PlaneXY[], b?: PlaneXY); /** * 获取中心点 * @param {boolean} round - 是否取整 * @return {PlaneXY} 返回中心点 */ getCenter(round?: boolean): PlaneXY; /** * 获取左下角 * @return {PlaneXY} 返回左下角 */ getBottomLeft(): PlaneXY; /** * 获取右上角 * @return {PlaneXY} 返回右上角 */ getTopRight(): PlaneXY; }