UNPKG

@visactor/vrender-core

Version:
13 lines (12 loc) 630 B
import type { IText, ITextGraphicAttribute, IWrapTextGraphicAttribute } from '../interface'; import { Text } from './text'; export declare class WrapText extends Text { attribute: IWrapTextGraphicAttribute; constructor(params: ITextGraphicAttribute); protected _isValid(): boolean; updateMultilineAABBBounds(text: (number | string)[]): import("@visactor/vutils").IBounds; protected needUpdateTags(keys: string[]): boolean; protected needUpdateTag(key: string): boolean; getNoWorkAnimateAttr(): Record<string, number>; } export declare function createWrapText(attributes: ITextGraphicAttribute): IText;