# OH_Drawing_FontStyleStruct ## 概述 定义字体样式信息的结构体。 **起始版本:** 12 **相关模块:**[Drawing](_drawing.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | [OH_Drawing_FontWeight](_drawing.md#oh_drawing_fontweight) [weight](#weight) | 字体字重 | | [OH_Drawing_FontWidth](_drawing.md#oh_drawing_fontwidth) [width](#width) | 字体字宽 | | [OH_Drawing_FontStyle](_drawing.md#oh_drawing_fontstyle) [slant](#slant) | 字体斜体 | ## 结构体成员变量说明 ### slant ``` OH_Drawing_FontStyle OH_Drawing_FontStyleStruct::slant ``` **描述** 字体斜体 ### weight ``` OH_Drawing_FontWeight OH_Drawing_FontStyleStruct::weight ``` **描述** 字体字重 ### width ``` OH_Drawing_FontWidth OH_Drawing_FontStyleStruct::width ``` **描述** 字体字宽