

```
1. typedef struct {...} OH_Drawing_PlaceholderSpan
```

## 概述

PhonePC/2in1TabletTVWearable

用于描述占位符跨度的结构体。

**起始版本：** 11

**相关模块：** [Drawing](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-drawing)

**所在头文件：** [drawing\_text\_typography.h](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-drawing-text-typography-h)

## 汇总

PhonePC/2in1TabletTVWearable

### 成员变量

PhonePC/2in1TabletTVWearable

展开

| 名称 | 描述 |
| --- | --- |
| double width | 占位符宽度。 |
| double height | 占位符高度。 |
| [OH\_Drawing\_PlaceholderVerticalAlignment](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-drawing-text-typography-h#oh_drawing_placeholderverticalalignment) alignment | 占位符对齐方式。 |
| [OH\_Drawing\_TextBaseline](https://developer.huawei.com/consumer/cn/doc/harmonyos-references/capi-drawing-text-typography-h#oh_drawing_textbaseline) baseline | 占位符基线。 |
| double baselineOffset | 占位符基线偏移。 |