Skip to main content

OH_Drawing_TextStyleGetFontStyleStruct

Function OH_Drawing_TextStyleGetFontStyleStruct 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleGetFontStyleStruct(
    drawingTextStyle: *mut OH_Drawing_TextStyle,
) -> OH_Drawing_FontStyleStruct
Expand description

@brief Obtains the font style, including the font weight, width, and slant, of 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}. @return Returns the obtained font style object. @since 12 @version 1.0