UNPKG

@aurigma/design-atoms-model

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

17 lines (16 loc) 798 B
import { BaseTextItem } from "./BaseTextItem"; import { RectangleF } from "../../Math"; export declare class AutoScaledTextItem extends BaseTextItem { private _isVertical; private _textRectangle; constructor(text?: string, rectangle?: RectangleF, fontPostScriptName?: string, fontSize?: number); get textRectangle(): RectangleF; set textRectangle(value: RectangleF); get isVertical(): boolean; set isVertical(value: boolean); static type: string; type: string; protected _copy(source: AutoScaledTextItem, destination: BaseTextItem, generateNewIds: boolean, appropriateParentContainer: boolean): void; equals(other: AutoScaledTextItem): any; clone(generateNewIds?: boolean, appropriateParentContainer?: boolean): AutoScaledTextItem; }