Skip to main content

OH_Drawing_SetTextShadow

Function OH_Drawing_SetTextShadow 

Source
pub unsafe extern "C" fn OH_Drawing_SetTextShadow(
    shadow: *mut OH_Drawing_TextShadow,
    color: u32,
    offset: *mut OH_Drawing_Point,
    blurRadius: f64,
)
Expand description

@brief Sets the parameter of text-shadow.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param shadow Indicates the pointer to an OH_Drawing_TextShadow object. @param color Indicates the color setting of text-shadow. @param offset Indicates the pointer to an OH_Drawing_Point object. @param blurRadius Indicates the radius of blur for text-shadow. @since 12 @version 1.0