import { FontStyle } from '@shujujiang/schemas/widget/style/text'; import { WidgetStyle } from '@shujujiang/schemas/widget/style'; export declare class Text { /** * 文本内容 * @title 文本内容 */ text: string; /** * 文本颜色 * @title 文本颜色 * @order 10 * @renderer color */ color?: string; /** * 文本垂直位置方式 * @title 垂直位置 * @order 30 * @enumsOrder ["top", "middle", "bottom"] */ textVerticalAlign?: 'top' | 'middle' | 'bottom'; /** * 上边距。水平位置设置为'top'时有效,可以设置为百分比 * @title 上边距 * @order 31 */ top?: string; /** * 下边距。水平位置设置为'bottom'时有效,可以设置为百分比 * @title 下边距 * @order 32 */ bottom?: string; /** * 运动速度 * @title 运动速度 * @order 30 */ speed?: number; /** * 字体设置 * @title 字体 * @order 60 * @rendererOption {"inlineSection": "80%"} */ font?: FontStyle; } export declare class Style extends WidgetStyle { /** * 文本。 * @title 文本 * @order 70 * @iconAlias text */ kpi: Text; }