1# OH_Drawing_PlaceholderSpan
2
3
4## Overview
5
6The **OH_Drawing_PlaceholderSpan** struct describes the placeholder that acts as a span.
7
8**Since**: 11
9
10**Related module**: [Drawing](_drawing.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| double [width](#width) | Width of a placeholder.|
21| double [height](#height) | Height of a placeholder.|
22| [OH_Drawing_PlaceholderVerticalAlignment](_drawing.md#oh_drawing_placeholderverticalalignment) [alignment](#alignment) | Alignment mode of a placeholder.|
23| [OH_Drawing_TextBaseline](_drawing.md#oh_drawing_textbaseline) [baseline](#baseline) | Baseline of a placeholder.|
24| double [baselineOffset](#baselineoffset) | Baseline offset of a placeholder.|
25
26
27## Member Variable Description
28
29
30### alignment
31
32```
33OH_Drawing_PlaceholderVerticalAlignment OH_Drawing_PlaceholderSpan::alignment
34```
35
36**Description**
37
38Alignment mode of a placeholder.
39
40
41### baseline
42
43```
44OH_Drawing_TextBaseline OH_Drawing_PlaceholderSpan::baseline
45```
46
47**Description**
48
49Baseline of a placeholder.
50
51
52### baselineOffset
53
54```
55double OH_Drawing_PlaceholderSpan::baselineOffset
56```
57
58**Description**
59
60Baseline offset of a placeholder.
61
62
63### height
64
65```
66double OH_Drawing_PlaceholderSpan::height
67```
68
69**Description**
70
71Height of a placeholder.
72
73
74### width
75
76```
77double OH_Drawing_PlaceholderSpan::width
78```
79
80**Description**
81
82Width of a placeholder.
83