Skip to main content

OH_Drawing_SetTextStyleFontHeight

Function OH_Drawing_SetTextStyleFontHeight 

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

@brief Sets the font height.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @param fontHeight Indicates the font height to set. @since 8 @version 1.0