OH_Drawing_PlaceholderSpan

概述

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

起始版本: 11

相关模块:Drawing

所在头文件:drawing_text_typography.h

汇总

成员变量

名称 描述
double width 占位符宽度
double height 占位符高度
OH_Drawing_PlaceholderVerticalAlignment alignment 占位符对齐方式
OH_Drawing_TextBaseline baseline 占位符基线
double baselineOffset 占位符基线偏移

结构体成员变量说明

alignment

OH_Drawing_PlaceholderVerticalAlignment OH_Drawing_PlaceholderSpan::alignment

描述

占位符对齐方式。

baseline

OH_Drawing_TextBaseline OH_Drawing_PlaceholderSpan::baseline

描述

占位符基线。

baselineOffset

double OH_Drawing_PlaceholderSpan::baselineOffset

描述

占位符基线偏移。

height

double OH_Drawing_PlaceholderSpan::height

描述

占位符高度。

width

double OH_Drawing_PlaceholderSpan::width

描述

占位符宽度。