pub unsafe extern "C" fn OH_Drawing_ShaderEffectCreateColorShader(
color: u32,
) -> *mut OH_Drawing_ShaderEffectExpand description
@brief Creates an OH_Drawing_ShaderEffect that generates a shader with single color.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param color Indicates the color used by the shader. @return Returns the pointer to the OH_Drawing_ShaderEffect object created. If nullptr is returned, the creation fails. The possible cause of the failure is that the available memory is empty. @since 12 @version 1.0