UNPKG

@skillpet/circuit

Version:

Circuit diagram library — render electrical schematics from JSON, with interactive SVG, themes, and Vue/React components

11 lines (10 loc) 329 B
/** * Python `elements.elements.LabelHint` — default label placement when `loc` matches an anchor name. */ import type { XY } from "./geometry/point.js"; export interface LabelHint { ofst?: number | XY; halign?: "left" | "center" | "right"; valign?: "top" | "center" | "bottom" | "base"; fontsize?: number; }