Skip to main content

OH_Drawing_SetTypographyTextLineStyleFontHeight

Function OH_Drawing_SetTypographyTextLineStyleFontHeight 

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

@brief Sets the font height of the line style for text typography as a multiple of the current font size.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @param lineStyleFontHeight Font height. The value must be greater than 0. @since 12 @version 1.0