ShaderFactory

Class of android.graphics.drawable, in ShapeDrawable · ShapeDrawable.java · Android's reference

public abstract static class ShaderFactory

Makes the paint's shader for the drawable's size, each time its bounds change.

Constructors

public ShaderFactory() empty body source

Methods

public abstract android.graphics.Shader resize(int width, int height) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.