ShapeDrawable.SetShaderFactory(ShapeDrawable+ShaderFactory) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a ShaderFactory to which requests for a
android.graphics.Shader
object will be made.
[Android.Runtime.Register("setShaderFactory", "(Landroid/graphics/drawable/ShapeDrawable$ShaderFactory;)V", "GetSetShaderFactory_Landroid_graphics_drawable_ShapeDrawable_ShaderFactory_Handler")]
public virtual void SetShaderFactory (Android.Graphics.Drawables.ShapeDrawable.ShaderFactory? fact);
[<Android.Runtime.Register("setShaderFactory", "(Landroid/graphics/drawable/ShapeDrawable$ShaderFactory;)V", "GetSetShaderFactory_Landroid_graphics_drawable_ShapeDrawable_ShaderFactory_Handler")>]
abstract member SetShaderFactory : Android.Graphics.Drawables.ShapeDrawable.ShaderFactory -> unit
override this.SetShaderFactory : Android.Graphics.Drawables.ShapeDrawable.ShaderFactory -> unit
Parameters
an instance of your ShaderFactory implementation
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.