SweepGradient

Class of android.graphics · SweepGradient.java · Android's reference

public class SweepGradient extends Shader

SweepGradient ← Shader

A gradient around a center.

Constructors

public SweepGradient(float cx, float cy, int[] colors, float[] positions) source
public SweepGradient(float cx, float cy, long[] colors, float[] positions) source
public SweepGradient(float cx, float cy, int color0, int color1) source
public SweepGradient(float cx, float cy, long color0, long color1) 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.