import type { IShape } from "./api.js"; import type { ReadonlyVec } from "@thi.ng/vectors"; /** * Applies a sequence of translate and scale operations to return an uniformly * scaled version of the given shape using `center` as the point of reference. * * @remarks * This op is likely slower than using {@link transform} with a equivalent * transformation matrix (e.g. using [`scaleWithCenter()` from * thi.ng/matrices](https://docs.thi.ng/umbrella/matrices/functions/scaleWithCenter23.html)), * but will not change the shape type (as might be the case with `transform()`). * * Also see: {@link scale}, {@link translate}, {@link applyTransforms}. * * @param shape * @param center * @param factor */ export declare const scaleWithCenter: (shape: T, center: ReadonlyVec, factor: number) => T; //# sourceMappingURL=scale-with-center.d.ts.map