Skip to main content

OH_Drawing_SetTextStyleDecoration

Function OH_Drawing_SetTextStyleDecoration 

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

@brief Sets the text decoration.

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