Skip to main content

OH_Drawing_SetTypographyStyleFontStyleStruct

Function OH_Drawing_SetTypographyStyleFontStyleStruct 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyStyleFontStyleStruct(
    drawingStyle: *mut OH_Drawing_TypographyStyle,
    fontStyle: OH_Drawing_FontStyleStruct,
)
Expand description

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

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