Skip to main content

OH_Drawing_SetTypographyTextFontSize

Function OH_Drawing_SetTypographyTextFontSize 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextFontSize(
    style: *mut OH_Drawing_TypographyStyle,
    fontSize: f64,
)
Expand description

@brief Sets the font size of text typography.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @param fontSize Indicates the font size of text typography to set. @since 12 @version 1.0