UNPKG

gd-canvas

Version:

This set of libraries was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.0 and no dependencies accept gd-tree (it has jquery and jstree) and gd-graph (it has jquery and chart.js).

29 lines (28 loc) 918 B
import { Rect } from 'gd-common'; import { Size } from 'gd-common'; import * as i0 from "@angular/core"; export declare class WireText { private MaxHeight; private chars; GetPath(data: any): Path2D; GetPathSingleLine(text: string, fontSize: number, style: WireStyle, rect: Rect, hAlign: any, vAlign: any): Path2D; Calculate(text: string, fontSize: number, style: WireStyle): { size: Size; rows: string[]; len: number[]; scale: number; style: WireStyle; }; static ɵfac: i0.ɵɵFactoryDef<WireText, never>; static ɵcmp: i0.ɵɵComponentDefWithMeta<WireText, "ng-component", never, {}, {}, never, never>; } export declare class StrokeCharacter { Width: number; Geometry: string; constructor(width: number, geometry: string); } export declare enum WireStyle { Modern = 0, Roman = 1, Script = 2 }