Skip to main content

OH_Drawing_SetTypographyTextFontFamily

Function OH_Drawing_SetTypographyTextFontFamily 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextFontFamily(
    style: *mut OH_Drawing_TypographyStyle,
    fontFamily: *const c_char,
)
Expand description

@brief Sets the font family of text typography.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @param fontFamily Indicates the pointer to the font family of text typography to set. @since 12 @version 1.0