Class of android.graphics · SweepGradient.java · Android's reference
public class SweepGradient extends Shader
SweepGradient ← Shader
A gradient around a center.
public SweepGradient(float cx, float cy, int[] colors, float[] positions) sourcepublic SweepGradient(float cx, float cy, long[] colors, float[] positions) sourcepublic SweepGradient(float cx, float cy, int color0, int color1) sourcepublic SweepGradient(float cx, float cy, long color0, long color1) 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.