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 line height based on the multiple of the font size.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the OH_Drawing_TextStyle object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param fontHeight Multiple of the font size. @since 8 @version 1.0