ngx-diagrams
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.
18 lines (17 loc) • 672 B
TypeScript
import { BaseModel } from './base.model';
import { LinkModel } from './link.model';
import { Observable } from 'rxjs';
import { Coords } from '../interfaces/coords.interface';
import { DestroyOptions } from '../interfaces';
export declare class LabelModel extends BaseModel<LinkModel> {
private readonly _coords;
private readonly coords$;
private readonly _rotation;
private readonly rotation$;
constructor(type?: string, id?: string);
destroy(options?: DestroyOptions): void;
setRotation(angle: number): void;
selectRotation(): Observable<number>;
setCoords(newCoords: Partial<Coords>): void;
selectCoords(): Observable<Coords>;
}