UNPKG

v-regexp

Version:

JavaScript Regular Expression Parser and Visualizer.

7 lines (6 loc) 652 B
import { TextRectParams, TextRectResult, TextLabelParams, TextLabelResult, HlineParams, SmoothLineParams, PointParams, PointResult, ElementSmoothLine, ElementHline } from '../types'; export declare function textRect({ str, x, y, bgColor, textColor, theme }: TextRectParams): TextRectResult; export declare function textLabel({ x, y, str, color, theme }: TextLabelParams): TextLabelResult; export declare function hline({ x, y, destX, theme }: HlineParams): ElementHline; export declare function smoothLine({ fromX, fromY, toX, toY, theme }: SmoothLineParams): ElementSmoothLine; export declare function point({ x, y, fill }: PointParams): PointResult;