pub unsafe extern "C" fn OH_Drawing_SetTextStyleFontStyle(
style: *mut OH_Drawing_TextStyle,
fontStyle: c_int,
)Expand description
@brief Sets the font style for a text style.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the OH_Drawing_TextStyle object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param fontStyle Font style. The value 1 indicates italic, 2 indicates oblique, and 0 or other values indicate non-italic. For details, see the {@link OH_Drawing_FontStyle} enum. @since 8 @version 1.0