pub unsafe extern "C" fn OH_Drawing_ShaderEffectCreateColorShader(
color: u32,
) -> *mut OH_Drawing_ShaderEffectExpand description
@brief Creates an OH_Drawing_ShaderEffect object with a single color.
@param color Color in the ARGB format. The value is a 32-bit unsigned integer. @return Returns the pointer to the {@link OH_Drawing_ShaderEffect} object created. If NULL is returned, the creation fails. The possible failure cause is that no memory is available. @since 12 @version 1.0