Skip to main content

OH_Drawing_SetTypographyTextLineStyleFontWeight

Function OH_Drawing_SetTypographyTextLineStyleFontWeight 

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

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

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @param weight Indicates the font weight of line style for text typography to set. For details, see the enum OH_Drawing_FontWeight. @since 12 @version 1.0