Skip to main content

OH_Drawing_TextStyleGetHalfLeading

Function OH_Drawing_TextStyleGetHalfLeading 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleGetHalfLeading(
    style: *mut OH_Drawing_TextStyle,
) -> bool
Expand description

@brief Gets whether to set the text to half line spacing.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @return Returns true indicates that the spacing takes effect, false indicates that the spacing does not take effect. @since 12 @version 1.0