import { TClassProperties, TOriginX, TOriginY } from '../../typedefs'; import { XTextbox } from './XTextbox'; import { WidgetType } from './type/widget.type'; import { Point } from '../../Point'; import { WidgetTextInterface } from './type/widget.entity.text'; export declare const textboxDefaultValues: Partial>; declare class Connector { connectorId: string; connectorType: string; point: Point; } export declare const XTextboxProps: Partial>; /** * Textbox class, based on IText, allows the user to resize the text rectangle * and wraps lines automatically. Textboxes have their Y scaling locked, the * user can only change width. Height is adjusted automatically based on the * wrapping of lines. */ export declare class XText extends XTextbox implements WidgetTextInterface { /** * Minimum width of textbox, in pixels. * @type Number * @default */ minWidth: number; tempTop: number; hasNoText: boolean; static objType: WidgetType; static type: WidgetType; /** * Minimum calculated width of a textbox, in pixels. * fixed to 2 so that an empty textbox cannot go to 0 * and is still selectable without text. * @type Number * @default */ dynamicMinWidth: number; oneLine: boolean; fromCopy: boolean; originX: TOriginX; originY: TOriginY; connectors: Connector[]; /** * Use this boolean property in order to split strings that have no white space concept. * this is a cheap way to help with chinese/japanese * @type Boolean * @since 2.6.0 */ splitByGrapheme: boolean; static textLayoutProperties: string[]; static ownDefaults: Record; getObject(): Record; static getDefaults(): { controls: { mr: import("../../..").Control; ml: import("../../..").Control; }; }; constructor(text: string, options: any); } export {}; //# sourceMappingURL=XText.d.ts.map