Skip to main content

OH_Drawing_SetTypographyTextLineStyleHalfLeading

Function OH_Drawing_SetTypographyTextLineStyleHalfLeading 

Source
pub unsafe extern "C" fn OH_Drawing_SetTypographyTextLineStyleHalfLeading(
    style: *mut OH_Drawing_TypographyStyle,
    lineStyleHalfLeading: bool,
)
Expand description

@brief Sets whether to enable half leading 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 lineStyleHalfLeading Whether the half leading takes effect. true means yes; false otherwise. @since 12 @version 1.0