Skip to main content

OH_Drawing_SetTextStyleLetterSpacing

Function OH_Drawing_SetTextStyleLetterSpacing 

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

@brief Sets the letter 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 letterSpacing Letter spacing value. A positive value increases the spacing, a negative value decreases it. The default value is 0, in px. @since 11 @version 1.0