Skip to main content

OH_Drawing_SetTextStyleBackgroundBrush

Function OH_Drawing_SetTextStyleBackgroundBrush 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextStyleBackgroundBrush(
    style: *mut OH_Drawing_TextStyle,
    backgroundBrush: *mut OH_Drawing_Brush,
)
Expand description

@brief Sets the background brush for a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param backgroundBrush Pointer to the {@link OH_Drawing_Brush} object, which is obtained from {@link OH_Drawing_BrushCreate}. @since 12 @version 1.0