Skip to main content

OH_Drawing_SetTextStyleFontStyleStruct

Function OH_Drawing_SetTextStyleFontStyleStruct 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleFontStyleStruct(
    drawingTextStyle: *mut OH_Drawing_TextStyle,
    fontStyle: OH_Drawing_FontStyleStruct,
)
Expand description

@brief Sets the text style, including font weight, font width and font slant.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param drawingTextStyle Indicates the pointer to an OH_Drawing_TextStyle object. @param fontStyle Indicates an OH_Drawing_FontStyleStruct object. @since 12 @version 1.0