UNPKG

@foblex/flow

Version:

An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.

23 lines (22 loc) 1.1 kB
import { ElementRef } from "@angular/core"; import { ILine } from '@foblex/2d'; import { IHasConnectionFromTo } from '../i-has-connection-from-to'; import { IHasConnectionColor } from '../i-has-connection-color'; import { IConnectionGradient } from './i-connection-gradient'; import * as i0 from "@angular/core"; export declare class FConnectionGradientComponent implements IConnectionGradient { private elementReference; private base; get gradientId(): string; get hostElement(): SVGLinearGradientElement; get stop1Element(): SVGStopElement; get stop2Element(): SVGStopElement; constructor(elementReference: ElementRef<SVGLinearGradientElement>, base: IHasConnectionColor & IHasConnectionFromTo); initialize(): void; private updateGradient; private setFromColor; private setToColor; redraw(line: ILine): void; static ɵfac: i0.ɵɵFactoryDeclaration<FConnectionGradientComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FConnectionGradientComponent, "linearGradient[fConnectionGradient]", never, {}, {}, never, never, false, never>; }