@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.
27 lines (26 loc) • 1.02 kB
TypeScript
import { type Configuration } from "../../generate/index.js";
/** An object mapping from Ca forms to their corresponding diacritics. */
export declare const CA_DIACRITICS: {
readonly SS: "DIAG_BAR";
readonly SC: "VERT_BAR";
readonly SF: "HORIZ_BAR";
readonly DS: "HORIZ_WITH_TOP_LINE";
readonly DC: "VERT_WITH_RIGHT_LINE";
readonly DF: "CURVE_TO_BOTTOM";
readonly FS: "CURVE_TO_TOP";
readonly FC: "TWO_PART_DIAG_BAR";
readonly FF: "CURVE_TO_BOTTOM_WITH_LINE";
};
/**
* Creates the bottom-left diacritic of a primary character as an SVG path.
*
* @param props Properties that modify the diacritic.
* @returns An `SVGPathElement` containing the diacritic, or `undefined` if no
* diacritic is needed.
*/
export declare function PrimaryBottomLeft(props: {
/** Whether this item is handwritten. */
readonly handwritten?: boolean | undefined;
/** The configuration of the character. */
readonly configuration?: Configuration | undefined;
}): SVGPathElement | undefined;