react-native-mathjax-html-to-svg
Version:
React Native component to display mathematics in html using MathJax. Uses [MathJax](https://github.com/mathjax/)
23 lines (22 loc) • 1.32 kB
TypeScript
import { SVGWrapper } from '../Wrapper.js';
import { BBox } from '../../../util/BBox.js';
import { SVGCharData } from '../FontData.js';
declare const SVGmo_base: import("mathjax-full/ts/output/common/Wrapper").Constructor<import("mathjax-full/ts/output/common/Wrappers/mo").CommonMo> & import("mathjax-full/ts/output/common/Wrapper").Constructor<SVGWrapper<any, any, any>>;
export declare class SVGmo<N, T, D> extends SVGmo_base {
static kind: string;
toSVG(parent: N): void;
protected stretchSVG(): void;
protected stretchVertical(stretch: number[], bbox: BBox): void;
protected stretchHorizontal(stretch: number[], bbox: BBox): void;
protected getChar(n: number): SVGCharData;
protected addGlyph(n: number, x: number, y: number, parent?: N): number;
protected addTop(n: number, H: number, W: number): number;
protected addExtV(n: number, H: number, D: number, T: number, B: number, W: number): void;
protected addBot(n: number, D: number, W: number): number;
protected addMidV(n: number, W: number): [number, number];
protected addLeft(n: number): number;
protected addExtH(n: number, W: number, L: number, R: number, x?: number): void;
protected addRight(n: number, W: number): number;
protected addMidH(n: number, W: number): [number, number];
}
export {};