Skip to main content

OH_Drawing_SetTypographyTextLineStyleFontFamilies

Function OH_Drawing_SetTypographyTextLineStyleFontFamilies 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextLineStyleFontFamilies(
    style: *mut OH_Drawing_TypographyStyle,
    fontFamiliesNumber: c_int,
    fontFamilies: *mut *const c_char,
)
Expand description

@brief Sets the font family of the line style for text typography.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to a typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @param fontFamiliesNumber Number of font family names. Negative values are not allowed. @param fontFamilies Pointer to an array of font family types. @since 12 @version 1.0