@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.
13 lines (12 loc) • 515 B
TypeScript
import { ISize, ITransformModel } from '@foblex/2d';
import { BrowserService } from '@foblex/platform';
export declare class LineService {
private hostElement;
private fHorizontalLine;
private fVerticalLine;
constructor(fBrowser: BrowserService, hostElement: HTMLElement);
drawVerticalLine(x: number, size: ISize, transform: ITransformModel): void;
drawHorizontalLine(y: number, size: ISize, transform: ITransformModel): void;
hideVerticalLine(): void;
hideHorizontalLine(): void;
}