UNPKG

@rxdi/ui-kit

Version:

UI Components for building graphql-server website

24 lines (23 loc) 977 B
interface Style { stroke: string; fill: string; strokeWidth: string; } export declare class VesicaService { static color: string; static width: number; static wres: number; static generate(depth?: number, ls?: number): SVGElement; static randomShape(size: number, style: Style): SVGElement; static scale(x: number, y: number, child: SVGElement[]): SVGElement; static rotate(deg: number, child?: SVGElement[]): SVGElement; static translate(x: number, y: number, child?: Node[]): SVGElement; static group(child?: SVGElement[]): SVGElement; static npoly(r: number, n: number, s: number, style: Style): SVGElement; static rect(w: number, h: number, style: Style): SVGElement; static circle(r: number, style: Style): SVGElement; static addChild(p: SVGElement, c: Node[]): SVGElement; static style(stroke: string, fill: string, strokeWidth: number): Style; static svgElm(name: string): SVGElement; } export {};