com.yworks.yfiles.server.graphml.flexio.compat
Class LinearGradient

java.lang.Object
  extended bycom.yworks.yfiles.server.graphml.flexio.compat.LinearGradient
All Implemented Interfaces:
IFill

public class LinearGradient
extends java.lang.Object
implements IFill

A Fill using a linear color gradient defined by multiple GradientEntry objects.

See Also:
GradientEntry

Constructor Summary
LinearGradient()
           
LinearGradient(float angle, GradientEntry[] entries)
           
 
Method Summary
 float getAngle()
          The angle to rotate this gradient
 GradientEntry[] getEntries()
          The color gradient entries of this gradient.
 void setAngle(float angle)
           
 void setEntries(GradientEntry[] entries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearGradient

public LinearGradient()

LinearGradient

public LinearGradient(float angle,
                      GradientEntry[] entries)
Method Detail

getAngle

public float getAngle()
The angle to rotate this gradient

Returns:

setAngle

public void setAngle(float angle)

getEntries

public GradientEntry[] getEntries()
The color gradient entries of this gradient.

Returns:

setEntries

public void setEntries(GradientEntry[] entries)


Copyright © 2000-2013 yWorks GmbH. All rights reserved