import type { Attribs } from "./api.js"; import type { Vec } from "@thi.ng/vectors"; import { BPatch } from "./api/bpatch.js"; /** * Creates a new {@link BPatch} shape instance for given 16 control points (see * class docs for point order). * * @param pts * @param attribs */ export declare const bpatch: (pts: Iterable, attribs?: Attribs) => BPatch; /** * Creates a new {@link BPatch} shape instance from given 4 corner points. * * @param pts * @param attribs */ export declare const bpatchFromQuad: (pts: Vec[], attribs?: Attribs) => BPatch; /** * Creates a new {@link BPatch} shape instance from the given 6 corner points of * a hexagon. * * @example * ```ts tangle:../export/bpatch-from-hex.ts * import { bpatchFromHex, star } * ``` * * @param pts * @param attribs */ export declare const bpatchFromHex: (pts: Vec[], attribs?: Attribs) => BPatch; //# sourceMappingURL=bpatch.d.ts.map