Android Guides | Samples

Android.Graphics.Drawables.ShapeDrawable.SetShaderFactory Method

Sets a ShaderFactory to which requests for a Shader object will be made.

Syntax

[Android.Runtime.Register("setShaderFactory", "(Landroid/graphics/drawable/ShapeDrawable$ShaderFactory;)V", "GetSetShaderFactory_Landroid_graphics_drawable_ShapeDrawable_ShaderFactory_Handler")]
public virtual Void SetShaderFactory (ShapeDrawable+ShaderFactory fact)

Parameters

fact
an instance of your ShaderFactory implementation

Remarks

Sets a ShaderFactory to which requests for a Shader object will be made.

[Android Documentation]

Requirements

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