Skip to main content

OH_Drawing_SetTextStyleWordSpacing

Function OH_Drawing_SetTextStyleWordSpacing 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleWordSpacing(
    style: *mut OH_Drawing_TextStyle,
    wordSpacing: f64,
)
Expand description

@brief Sets the word spacing for a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the OH_Drawing_TextStyle object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param wordSpacing Spacing size. A positive value increases the spacing, and a negative value decreases the spacing. The default value is 0, in px. @since 11 @version 1.0