harmony 鸿蒙OH_Drawing_FontAliasInfo

2025-06-12 浏览 (1)

OH_Drawing_FontAliasInfo

Overview

The OH_Drawing_FontAliasInfo struct describes the information about a font alias.

Since: 12

Related module: Drawing

Header file: drawing_text_typography.h

Summary

Member Variables

NameDescription
char * familyNamePointer to the name of a font family.
int weightFont weight. If the value is greater than 0, only the fonts with the specified weight in the font family are contained. If the value is 0, all the fonts in the font family are contained.

Member Variable Description

familyName

char* OH_Drawing_FontAliasInfo::familyName

Description

Pointer to the name of a font family.

weight

int OH_Drawing_FontAliasInfo::weight

Description

Font weight. If the value is greater than 0, only the fonts with the specified weight in the font family are contained. If the value is 0, all the fonts in the font family are contained.

你可能感兴趣的鸿蒙文章

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/iP2iQJ