ecljs
Version:
electric circuits library
18 lines (17 loc) • 528 B
TypeScript
import { ISize } from "dabbjs/dist/lib/interfaces";
import { Type, ILabelDefaults } from "./interfaces";
import { ItemBase } from "./itemsBase";
export declare class Label extends ItemBase {
get type(): Type;
protected $: ILabelDefaults;
get text(): string;
get size(): ISize;
get fontSize(): number;
constructor(options: {
[x: string]: any;
});
move(x: number, y: number): Label;
setFontSize(value: number): Label;
setText(text: string): Label;
defaults(): ILabelDefaults;
}