C# Class android.graphics.drawable.ShapeDrawable.ShaderFactory

Base class defines a factory object that is called each time the drawable is resized (has a new width or height).
Base class defines a factory object that is called each time the drawable is resized (has a new width or height). Its resize() method returns a corresponding shader, or null. Implement this class if you'd like your ShapeDrawable to use a special android.graphics.Shader , such as a android.graphics.LinearGradient .
显示文件 Open project: JeroMiya/androidmono

Public Methods

Method Description
resize ( int arg0, int arg1 ) : global::android.graphics.Shader

Protected Methods

Method Description
ShaderFactory ( global @__env )

Private Methods

Method Description
ShaderFactory ( )

Method Details

ShaderFactory() protected method

protected ShaderFactory ( global @__env )
@__env global

resize() public abstract method

public abstract resize ( int arg0, int arg1 ) : global::android.graphics.Shader
arg0 int
arg1 int
return global::android.graphics.Shader