harmony 鸿蒙OH_Drawing_FontStyleStruct

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

OH_Drawing_FontStyleStruct

Overview

The OH_Drawing_FontStyleStruct struct describes a font style.

Since: 12

Related module: Drawing

Header file: drawing_text_typography.h

Summary

Member Variables

Name Description
OH_Drawing_FontWeight weight Font weight.
OH_Drawing_FontWidth width Font width.
OH_Drawing_FontStyle slant Font slant.

Member Variable Description

slant

OH_Drawing_FontStyle OH_Drawing_FontStyleStruct::slant

Description

Font slant.

weight

OH_Drawing_FontWeight OH_Drawing_FontStyleStruct::weight

Description

Font weight.

width

OH_Drawing_FontWidth OH_Drawing_FontStyleStruct::width

Description

Font width.

你可能感兴趣的鸿蒙文章

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  赞