harmony 鸿蒙OH_Drawing_PlaceholderSpan

  • 2025-06-12
  • 浏览 (6)

OH_Drawing_PlaceholderSpan

Overview

The OH_Drawing_PlaceholderSpan 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.

Member Variable Description

alignment

OH_Drawing_PlaceholderVerticalAlignment OH_Drawing_PlaceholderSpan::alignment

Description

Alignment mode of a placeholder.

baseline

OH_Drawing_TextBaseline OH_Drawing_PlaceholderSpan::baseline

Description

Baseline of a placeholder.

baselineOffset

double OH_Drawing_PlaceholderSpan::baselineOffset

Description

Baseline offset of a placeholder.

height

double OH_Drawing_PlaceholderSpan::height

Description

Height of a placeholder.

width

double OH_Drawing_PlaceholderSpan::width

Description

Width of a placeholder.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

0  赞