Skip to main content

OH_Drawing_SetTextStyleFontSize

Function OH_Drawing_SetTextStyleFontSize 

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

@brief Sets the font size for a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param fontSize Font size, in physical pixels (px). @since 8 @version 1.0