Skip to main content

OH_Drawing_SetTypographyTextLineStyleFontStyle

Function OH_Drawing_SetTypographyTextLineStyleFontStyle 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextLineStyleFontStyle(
    style: *mut OH_Drawing_TypographyStyle,
    fontStyle: c_int,
)
Expand description

@brief Sets the font style of the strut style in a typography style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @param fontStyle Font style. For details about the available options, see {@link OH_Drawing_FontStyle}. @since 12 @version 1.0