Skip to main content

OH_Drawing_SetTypographyTextSplitRatio

Function OH_Drawing_SetTypographyTextSplitRatio 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextSplitRatio(
    style: *mut OH_Drawing_TypographyStyle,
    textSplitRatio: f32,
)
Expand description

@brief Sets the textSplitRatio of lines in a text file.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @param textSplitRatio Indicates the textSplitRatio of lines to set. @since 12 @version 1.0