• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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**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| double [width](#width) | Width of a placeholder.|
22| double [height](#height) | Height of a placeholder.|
23| [OH_Drawing_PlaceholderVerticalAlignment](_drawing.md#oh_drawing_placeholderverticalalignment) [alignment](#alignment) | Alignment mode of a placeholder.|
24| [OH_Drawing_TextBaseline](_drawing.md#oh_drawing_textbaseline) [baseline](#baseline) | Baseline of a placeholder.|
25| double [baselineOffset](#baselineoffset) | Baseline offset of a placeholder.|
26
27
28## Member Variable Description
29
30
31### alignment
32
33```
34OH_Drawing_PlaceholderVerticalAlignment OH_Drawing_PlaceholderSpan::alignment
35```
36
37**Description**
38
39Alignment mode of a placeholder.
40
41
42### baseline
43
44```
45OH_Drawing_TextBaseline OH_Drawing_PlaceholderSpan::baseline
46```
47
48**Description**
49
50Baseline of a placeholder.
51
52
53### baselineOffset
54
55```
56double OH_Drawing_PlaceholderSpan::baselineOffset
57```
58
59**Description**
60
61Baseline offset of a placeholder.
62
63
64### height
65
66```
67double OH_Drawing_PlaceholderSpan::height
68```
69
70**Description**
71
72Height of a placeholder.
73
74
75### width
76
77```
78double OH_Drawing_PlaceholderSpan::width
79```
80
81**Description**
82
83Width of a placeholder.
84