Skip to main content

OH_Drawing_SetTypographyTextLineStyleSpacingScale

Function OH_Drawing_SetTypographyTextLineStyleSpacingScale 

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

@brief Sets the spacing scale factor 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 spacingScale Line style spacing scale for scaling line spacing. A value greater than 1.0 increases the line spacing, a value less than 1.0 decreases it, and 1.0 indicates the original spacing. @since 12 @version 1.0