android.graphics
Class LinearGradient

java.lang.Object
  extended by android.graphics.Shader
      extended by android.graphics.LinearGradient

public class LinearGradient
extends Shader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.graphics.Shader
Shader.TileMode
 
Constructor Summary
LinearGradient(float x0, float y0, float x1, float y1, int[] colors, float[] positions, Shader.TileMode tile)
           
LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, Shader.TileMode tile)
           
 
Method Summary
 
Methods inherited from class android.graphics.Shader
finalize, getLocalMatrix, setLocalMatrix
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearGradient

public LinearGradient(float x0,
                      float y0,
                      float x1,
                      float y1,
                      int[] colors,
                      float[] positions,
                      Shader.TileMode tile)

LinearGradient

public LinearGradient(float x0,
                      float y0,
                      float x1,
                      float y1,
                      int color0,
                      int color1,
                      Shader.TileMode tile)


Copyright © 2008-2012. All Rights Reserved.