| [OH_Drawing_CreateTypographyStyle](_drawing.md#oh_drawing_createtypographystyle)(void) | Creates an **OH_Drawing_TypographyStyle** object. |
| [OH_Drawing_DestroyTypographyStyle](_drawing.md#oh_drawing_destroytypographystyle)([OH_Drawing_TypographyStyle](_drawing.md#oh_drawing_typographystyle)\*) | Releases the memory occupied by an **OH_Drawing_TypographyStyle** object. |
| [OH_Drawing_SetTypographyTextDirection](_drawing.md#oh_drawing_settypographytextdirection)([OH_Drawing_TypographyStyle](_drawing.md#oh_drawing_typographystyle)\*, int) | Sets the text direction. |
| [OH_Drawing_SetTypographyTextAlign](_drawing.md#oh_drawing_settypographytextalign)([OH_Drawing_TypographyStyle](_drawing.md#oh_drawing_typographystyle)\*, int) | Sets the text alignment mode. |
| [OH_Drawing_SetTypographyTextMaxLines](_drawing.md#oh_drawing_settypographytextmaxlines)([OH_Drawing_TypographyStyle](_drawing.md#oh_drawing_typographystyle)\*, int) | Sets the maximum number of lines in a text file. |
| [OH_Drawing_CreateTextStyle](_drawing.md#oh_drawing_createtextstyle)(void) | Creates an **OH_Drawing_TextStyle** object. |
| [OH_Drawing_DestroyTextStyle](_drawing.md#oh_drawing_destroytextstyle)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*) | Releases the memory occupied by an **OH_Drawing_TextStyle** object. |
| [OH_Drawing_SetTextStyleColor](_drawing.md#oh_drawing_settextstylecolor)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, uint32_t) | Sets the text color. |
| [OH_Drawing_SetTextStyleFontSize](_drawing.md#oh_drawing_settextstylefontsize)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, double) | Sets the font size. |
| [OH_Drawing_SetTextStyleFontWeight](_drawing.md#oh_drawing_settextstylefontweight)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, int) | Sets the font weight. |
| [OH_Drawing_SetTextStyleBaseLine](_drawing.md#oh_drawing_settextstylebaseline)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, int) | Sets the text baseline. |
| [OH_Drawing_SetTextStyleDecoration](_drawing.md#oh_drawing_settextstyledecoration)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, int) | Sets the text decoration. |
| [OH_Drawing_SetTextStyleDecorationColor](_drawing.md#oh_drawing_settextstyledecorationcolor)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, uint32_t) | Sets the color for the text decoration. |
| [OH_Drawing_SetTextStyleFontHeight](_drawing.md#oh_drawing_settextstylefontheight)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, double) | Sets the font height. |
| [OH_Drawing_SetTextStyleFontFamilies](_drawing.md#oh_drawing_settextstylefontfamilies)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, int, const char \*fontFamilies[]) | Sets the font families. |
| [OH_Drawing_SetTextStyleFontStyle](_drawing.md#oh_drawing_settextstylefontstyle)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, int) | Sets the font style. |
| [OH_Drawing_SetTextStyleLocale](_drawing.md#oh_drawing_settextstylelocale)([OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*, const char \*) | Sets the locale. |
| [OH_Drawing_CreateTypographyHandler](_drawing.md#oh_drawing_createtypographyhandler)([OH_Drawing_TypographyStyle](_drawing.md#oh_drawing_typographystyle)\*, [OH_Drawing_FontCollection](_drawing.md#oh_drawing_fontcollection)\*) | Creates a pointer to an **OH_Drawing_TypographyCreate** object. |
| [OH_Drawing_DestroyTypographyHandler](_drawing.md#oh_drawing_destroytypographyhandler)([OH_Drawing_TypographyCreate](_drawing.md#oh_drawing_typographycreate)\*) | Releases the memory occupied by an **OH_Drawing_TypographyCreate** object. |
| [OH_Drawing_TypographyHandlerPushTextStyle](_drawing.md#oh_drawing_typographyhandlerpushtextstyle)([OH_Drawing_TypographyCreate](_drawing.md#oh_drawing_typographycreate)\*, [OH_Drawing_TextStyle](_drawing.md#oh_drawing_textstyle)\*) | Sets the text style. |
| [OH_Drawing_TypographyHandlerAddText](_drawing.md#oh_drawing_typographyhandleraddtext)([OH_Drawing_TypographyCreate](_drawing.md#oh_drawing_typographycreate)\*, const char \*) | Sets the text content. |
| [OH_Drawing_TypographyHandlerPopTextStyle](_drawing.md#oh_drawing_typographyhandlerpoptextstyle)([OH_Drawing_TypographyCreate](_drawing.md#oh_drawing_typographycreate)\*) | Removes the topmost style in the stack, leaving the remaining styles in effect. |
| [OH_Drawing_CreateTypography](_drawing.md#oh_drawing_createtypography)([OH_Drawing_TypographyCreate](_drawing.md#oh_drawing_typographycreate)\*) | Creates an **OH_Drawing_Typography** object. |
| [OH_Drawing_DestroyTypography](_drawing.md#oh_drawing_destroytypography)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Releases the memory occupied by an **OH_Drawing_Typography** object. |
| [OH_Drawing_TypographyLayout](_drawing.md#oh_drawing_typographylayout)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*, double) | Lays out the typography. |
| [OH_Drawing_TypographyPaint](_drawing.md#oh_drawing_typographypaint)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*, [OH_Drawing_Canvas](_drawing.md#oh_drawing_canvas)\*, double, double) | Paints text on the canvas. |
| [OH_Drawing_TypographyGetMaxWidth](_drawing.md#oh_drawing_typographygetmaxwidth)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the maximum width. |
| [OH_Drawing_TypographyGetHeight](_drawing.md#oh_drawing_typographygetheight)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the height. |
| [OH_Drawing_TypographyGetLongestLine](_drawing.md#oh_drawing_typographygetlongestline)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the longest line. |
| [OH_Drawing_TypographyGetMinIntrinsicWidth](_drawing.md#oh_drawing_typographygetminintrinsicwidth)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the minimum intrinsic width. |
| [OH_Drawing_TypographyGetMaxIntrinsicWidth](_drawing.md#oh_drawing_typographygetmaxintrinsicwidth)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the maximum intrinsic width. |
| [OH_Drawing_TypographyGetAlphabeticBaseline](_drawing.md#oh_drawing_typographygetalphabeticbaseline)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the alphabetic baseline. |
| [OH_Drawing_TypographyGetIdeographicBaseline](_drawing.md#oh_drawing_typographygetideographicbaseline)([OH_Drawing_Typography](_drawing.md#oh_drawing_typography)\*) | Obtains the ideographic baseline. |