MrShi
2026-04-07 e0a7b836464d6fcc037d46f845b8faf39cb5b13e
1
2
3
4
import { Text } from '../util/graphic.js';
declare type TextStyleProps = Text['style'];
export declare function getTextRect(text: TextStyleProps['text'], font?: TextStyleProps['font'], align?: TextStyleProps['align'], verticalAlign?: TextStyleProps['verticalAlign'], padding?: TextStyleProps['padding'], rich?: TextStyleProps['rich'], truncate?: boolean, lineHeight?: number): import("zrender/lib/core/BoundingRect").default;
export {};