Class of android.graphics · RadialGradient.java · Android's reference
public class RadialGradient extends Shader
RadialGradient ← Shader
A gradient out from a center.
public RadialGradient(float centerX, float centerY, float radius, int[] colors, float[] stops, TileMode tile) sourcepublic RadialGradient(float centerX, float centerY, float radius, long[] colors, float[] stops, TileMode tile) sourcepublic RadialGradient(float centerX, float centerY, float radius, int centerColor, int edgeColor, TileMode tile) sourcepublic RadialGradient(float centerX, float centerY, float radius, long centerColor, long edgeColor, TileMode tile) sourceMade 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.