import type { MultiFn2 } from "@thi.ng/defmulti"; import type { ReadonlyVec } from "@thi.ng/vectors"; import type { IShape } from "./api.js"; /** * Function overrides for {@link translate}. */ export type TranslateFn = { (shape: T, offset: ReadonlyVec): T; } & MultiFn2; /** * Translates given shape by given `offset` vector. * * @remarks * Currently implemented for: * * - {@link AABB} * - {@link Arc} * - {@link BPatch} * - {@link Circle} * - {@link ComplexPolygon} * - {@link Cubic} * - {@link Cubic3} * - {@link Ellipse} * - {@link Extra} * - {@link Group} * - {@link Group3} * - {@link Line} * - {@link Path} * - {@link Points} * - {@link Points3} * - {@link Polygon} * - {@link Polyline} * - {@link Quad} * - {@link Quadratic} * - {@link Ray} * - {@link Rect} * - {@link Sphere} * - {@link Text} * - {@link Triangle} * * @param shape * @param offset */ export declare const translate: TranslateFn; //# sourceMappingURL=translate.d.ts.map