UNPKG

@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.

25 lines (24 loc) 877 B
/** * Gets a point on an SVG path. * * @param path The path to get the origin of. * @param offset The distance along the path to get the point on. * @returns The point on `path` at the specified offset. */ export declare function getOrigin(path: string, offset?: number): DOMPoint; /** * Shows the origin of an SVG path. * * @param props Properties modifying the display. * @returns A point showing the origin of the specified path. */ export declare function Origin(props: { /** The element to show the origin of. */ readonly children: SVGElement; /** The color of the displayed point. */ readonly color?: string | undefined; /** The offset of the displayed point from the beginning of the path. */ readonly offset?: number | undefined; /** The size of the displayed point. */ readonly size?: number | undefined; }): SVGPathElement;