import * as spec from '@galacean/effects-specification'; export declare class TextStyle { /** * 字重 */ textWeight: spec.TextWeight; /** * 字体样式 */ fontStyle: spec.FontStyle; /** * 是否有下划线(暂时无效) */ isUnderline: boolean; /** * 下划线高度(暂时无效) */ underlineHeight: number; /** * 是否有外描边 */ isOutlined: boolean; /** * 外描边颜色 */ outlineColor: spec.vec4; /** * 外描边宽度 */ outlineWidth: number; /** * 是否有阴影 */ hasShadow: boolean; /** * 阴影颜色 */ shadowColor: spec.vec4; /** * 阴影模糊 */ shadowBlur: number; /** * 阴影水平偏移距离 */ shadowOffsetX: number; /** * 阴影高度偏移距离 */ shadowOffsetY: number; /** * 文本颜色 */ textColor: spec.vec4; /** * 字体大小 */ fontSize: number; fontFamily: string; fontDesc: string; /** * 字体倍数 */ fontScale: number; fontOffset: number; constructor(options: spec.TextContentOptions); update(options: spec.TextContentOptions): void; }