Added in API level 1

SweepGradient


public class SweepGradient
extends Shader

java.lang.Object
   ↳ android.graphics.Shader
     ↳ android.graphics.SweepGradient


Summary

Public constructors

SweepGradient(float cx, float cy, int color0, int color1)

A Shader that draws a sweep gradient around a center point.

SweepGradient(float cx, float cy, int[] colors, float[] positions)

A Shader that draws a sweep gradient around a center point.

SweepGradient(float cx, float cy, long color0, long color1)

A Shader that draws a sweep gradient around a center point.

SweepGradient(float cx, float cy, long[] colors, float[] positions)

A Shader that draws a sweep gradient around a center point.

Inherited methods