import { Matrix, Rectangle } from '@gedit/math'; import type { PositionSchema, TransformSchema } from '../schema'; export declare namespace Bounds { /** * 获取外围边界矩形 * @param target * @param matrix */ function getBounds(target: TransformSchema, matrix?: Matrix): Rectangle; /** * 找到边框中最左边的点 * @param target * @param matrix */ function getLeftPointFromBounds(target: TransformSchema, matrix?: Matrix): PositionSchema; /** * 找到边框中最上边的点 * @param target * @param matrix */ function getTopPointFromBounds(target: TransformSchema, matrix?: Matrix): PositionSchema; function getCenter(target: TransformSchema, matrix?: Matrix): PositionSchema; function getTopLeft(target: TransformSchema, matrix?: Matrix): PositionSchema; function getTopCenter(target: TransformSchema, matrix?: Matrix): PositionSchema; function getTopRight(target: TransformSchema, matrix?: Matrix): PositionSchema; function getLeftCenter(target: TransformSchema, matrix?: Matrix): PositionSchema; function getRightCenter(target: TransformSchema, matrix?: Matrix): PositionSchema; function getBottomLeft(target: TransformSchema, matrix?: Matrix): PositionSchema; function getBottomCenter(target: TransformSchema, matrix?: Matrix): PositionSchema; function getBottomRight(target: TransformSchema, matrix?: Matrix): PositionSchema; } //# sourceMappingURL=bounds.d.ts.map