@jscad/modeling
Version:
Constructive Solid Geometry (CSG) Library for JSCAD
23 lines (18 loc) • 562 B
TypeScript
import Vec2 from '../maths/vec2/type'
export default vectorChar
export interface VectorChar {
width: number
height: number
segments: Array<Array<Vec2>>
}
export interface VectorCharOptions {
xOffset?: number
yOffset?: number
height?: number
extrudeOffset?: number
input?: string
}
declare function vectorChar(): VectorChar
declare function vectorChar(char: string): VectorChar
declare function vectorChar(options: VectorCharOptions): VectorChar
declare function vectorChar(options: Omit<VectorCharOptions, 'input'>, char: string): VectorChar