harmony 鸿蒙OH_Drawing_PlaceholderSpan

2025-06-12 浏览 (1)

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

NameDescription
double widthWidth of a placeholder.
double heightHeight of a placeholder.
OH_Drawing_PlaceholderVerticalAlignment alignmentAlignment mode of a placeholder.
OH_Drawing_TextBaseline baselineBaseline of a placeholder.
double baselineOffsetBaseline 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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/4mdT4P