|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.toscanaj.util.gradients.LinearGradient
Constructor Summary | |
LinearGradient(java.awt.Color from,
java.awt.Color to)
|
Method Summary | |
java.awt.Color |
getColor(double position)
Returns the color at a certain position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinearGradient(java.awt.Color from, java.awt.Color to)
Method Detail |
public java.awt.Color getColor(double position)
Gradient
getColor
in interface Gradient
position
- value in [0,1] giving the position within the gradient
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |