pub unsafe extern "C" fn OH_Drawing_SetTextStyleFontWeight(
style: *mut OH_Drawing_TextStyle,
fontWeight: c_int,
)Expand description
@brief Sets the font weight.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @param fontWeight Indicates the font weight to set. For details, see the enum OH_Drawing_FontWeight. @since 8 @version 1.0