• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Drawing_FontStyleStruct
2
3
4## Overview
5
6The OH_Drawing_FontStyleStruct struct describes a font style.
7
8**Since**: 12
9
10**Related module**: [Drawing](_drawing.md)
11
12**Header file**: [drawing_text_typography.h](drawing__text__typography_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| [OH_Drawing_FontWeight](_drawing.md#oh_drawing_fontweight) [weight](#weight) | Font weight. |
22| [OH_Drawing_FontWidth](_drawing.md#oh_drawing_fontwidth) [width](#width) | Font width. |
23| [OH_Drawing_FontStyle](_drawing.md#oh_drawing_fontstyle) [slant](#slant) | Font slant. |
24
25
26## Member Variable Description
27
28
29### slant
30
31```
32OH_Drawing_FontStyle OH_Drawing_FontStyleStruct::slant
33```
34**Description**
35
36Font slant.
37
38
39### weight
40
41```
42OH_Drawing_FontWeight OH_Drawing_FontStyleStruct::weight
43```
44**Description**
45
46Font weight.
47
48
49### width
50
51```
52OH_Drawing_FontWidth OH_Drawing_FontStyleStruct::width
53```
54**Description**
55
56Font width.
57