Skip to main content

OH_Drawing_TextStyleSetBackgroundRect

Function OH_Drawing_TextStyleSetBackgroundRect 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleSetBackgroundRect(
    style: *mut OH_Drawing_TextStyle,
    rectStyleInfo: *const OH_Drawing_RectStyle_Info,
    styleId: c_int,
)
Expand description

@brief Set struct of background rect and styleId of text.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to an OH_Drawing_TextStyle object. @param rectStyleInfo Indicates the pointer to an OH_Drawing_RectStyle_Info object. @param styleId Indicates the styleId of text to set. @since 12 @version 1.0