Skip to main content

OH_Drawing_SetTextStyleDecorationStyle

Function OH_Drawing_SetTextStyleDecorationStyle 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleDecorationStyle(
    style: *mut OH_Drawing_TextStyle,
    decorationStyle: c_int,
)
Expand description

@brief Sets the decoration style 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 decorationStyle Text decoration style. For details about the available options, see {@link OH_Drawing_TextDecorationStyle}. @since 11 @version 1.0