UNPKG

@obliczeniowo/elementary

Version:
52 lines (46 loc) 2.32 kB
import * as i0 from '@angular/core'; import * as i3 from '@angular/common'; declare class HtmlLineComponent { /** coordinates as table [x1, y1, x2, y2] */ set coords(coords: [number, number, number, number]); private _coords; protected recalc(): void; /** line (div) height */ private _thickness; get thickness(): number; set thickness(value: number); /** */ background: string; protected transform: string; protected width: number; radius: number; static ɵfac: i0.ɵɵFactoryDeclaration<HtmlLineComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HtmlLineComponent, "obl-html-line", never, { "coords": { "alias": "coords"; "required": false; }; "thickness": { "alias": "thickness"; "required": false; }; "background": { "alias": "background"; "required": false; }; }, {}, never, never, false, never>; } interface LinesSetDef { /** */ points: [number, number][]; /** line color if not set the global one is used */ color?: string; /** line thickness if not set the global one is used */ thickness?: number; } declare class HtmlLinesComponent { protected minMax: i0.Signal<[[number, number], [number, number]] | undefined>; lines: i0.InputSignal<LinesSetDef[]>; /** line thickness in px */ thickness: number; /** color as any css color style */ color: string; style: i0.Signal<any>; coords(fp: number[], sp: number[]): [number, number, number, number]; static ɵfac: i0.ɵɵFactoryDeclaration<HtmlLinesComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<HtmlLinesComponent, "obl-html-lines", never, { "lines": { "alias": "lines"; "required": false; "isSignal": true; }; "thickness": { "alias": "thickness"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>; } declare class HtmlLineModule { static ɵfac: i0.ɵɵFactoryDeclaration<HtmlLineModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<HtmlLineModule, [typeof HtmlLineComponent, typeof HtmlLinesComponent], [typeof i3.CommonModule], [typeof HtmlLineComponent, typeof HtmlLinesComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<HtmlLineModule>; } export { HtmlLineComponent, HtmlLineModule, HtmlLinesComponent }; export type { LinesSetDef };