OH_Drawing_PlaceholderSpan

typedef struct {...} OH_Drawing_PlaceholderSpan

Overview

This struct describes the placeholder that acts as a span.

Since: 11

Related module: Drawing

Header file: drawing_text_typography.h

Summary

Member Variables

Name Description
double width Width of a placeholder.
double height Height of a placeholder.
OH_Drawing_PlaceholderVerticalAlignment alignment Alignment mode of a placeholder.
OH_Drawing_TextBaseline baseline Baseline of a placeholder.
double baselineOffset Baseline offset of a placeholder.