Skip to main content

OH_Drawing_SetTypographyTextLineStyleFontSize

Function OH_Drawing_SetTypographyTextLineStyleFontSize 

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

@brief Sets the font size for a text line style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the typography style object {@link OH_Drawing_TypographyStyle}, obtained by {@link OH_Drawing_CreateTypographyStyle}. @param lineStyleFontSize Font size (greater than 0), in physical pixels (px). @since 12 @version 1.0