标签类。 父类: MQWidget.WidgetBase 属性# 读取(get) 写入(set) 类型 名称 说明 x x string text 显示文本 x x string fontName 字体名称 x x bool fontBold 是否使用粗体 x x float fontScale 字体缩放比例 x x MQWidget.Color fontColor 字体颜色 x x string alignment 文本对齐方式 [left] 左侧 [right] 右侧 [center] center x x bool verticalText 文本采用水平还是垂直显示 x x bool wordWrap 自动换行 x x bool frame 是否显示边框 x x bool shadowText 在文本后显示阴影 x string systemSVGFile 系统 .svg 文件名 x x float imageScale SVG 图像缩放比例 方法# 成员 说明 Label 构造函数。 Label([parent])#构造函数。 参数: MQWidget.WidgetBase parent - 父控件