@zsnout/ithkuil
Version:
A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.
9 lines (8 loc) • 382 B
TypeScript
/**
* Modifies an SVG element's view box to be equal to the size of its contents.
*
* @param svg The SVG element whose view box will be adjusted.
* @param margin The size of the margin placed around the SVG.
* @param options Options to pass to `svg.getBBox()`.
*/
export declare function fitViewBox(svg: SVGSVGElement, margin?: number, options?: SVGBoundingBoxOptions): void;