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.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @param decorationStyle Indicates the text decoration style to set. For details, see the enum OH_Drawing_TextDecorationStyle. @since 11 @version 1.0