pub unsafe extern "C" fn OH_Drawing_SetTextStyleFontStyleStruct(
drawingTextStyle: *mut OH_Drawing_TextStyle,
fontStyle: OH_Drawing_FontStyleStruct,
)Expand description
@brief Sets the font style, including the font weight, width, and slant, for a text style.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param drawingTextStyle Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param fontStyle Font style, including the font weight, width, and slant. @since 12 @version 1.0