Android.Graphics.Paint.SetShader Method
Set or clear the shader object.

Syntax

[Android.Runtime.Register("setShader", "(Landroid/graphics/Shader;)Landroid/graphics/Shader;", "GetSetShader_Landroid_graphics_Shader_Handler")]
public virtual Shader SetShader (Shader shader)

Parameters

shader
May be null. the new shader to be installed in the paint

Returns

Documentation for this section has not yet been entered.

Remarks

Set or clear the shader object.

Pass null to clear any previous shader. As a convenience, the parameter passed is also returned.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1