pub unsafe extern "C" fn OH_Drawing_ShaderEffectCreateImageShader(
image: *mut OH_Drawing_Image,
tileX: OH_Drawing_TileMode,
tileY: OH_Drawing_TileMode,
samplingOptions: *const OH_Drawing_SamplingOptions,
matrix: *const OH_Drawing_Matrix,
) -> *mut OH_Drawing_ShaderEffectExpand description
@brief Creates an OH_Drawing_ShaderEffect that generates a image shader.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param image Indicates the pointer to an OH_Drawing_Image object. @param tileX Indicates the tileX. @param tileY Indicates the tileY. @param samplingOptions Indicates the pointer to an OH_Drawing_SamplingOptions object. @param matrix Indicates the pointer to an OH_Drawing_Matrix object. If matrix is nullptr, defaults to the identity matrix. @return Returns the pointer to the OH_Drawing_ShaderEffect object created. @since 12 @version 1.0