harmony 鸿蒙OH_Drawing_FontAliasInfo

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

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

Name Description
char * familyName Pointer to the name of a font family.
int weight 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.

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

0  赞