picasso.parser.language.expressions
Class RandomColor

java.lang.Object
  extended by picasso.parser.language.ExpressionTreeNode
      extended by picasso.parser.language.expressions.RandomColor
All Implemented Interfaces:
EvaluatableExpression

public class RandomColor
extends ExpressionTreeNode

generates random color

Author:
Stuart Vassey

Constructor Summary
RandomColor()
           
 
Method Summary
 RGBColor evaluate(double x, double y)
          Evaluate this expression, given x and y
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomColor

public RandomColor()
Method Detail

evaluate

public RGBColor evaluate(double x,
                         double y)
Description copied from class: ExpressionTreeNode
Evaluate this expression, given x and y

Specified by:
evaluate in interface EvaluatableExpression
Specified by:
evaluate in class ExpressionTreeNode
Returns:
the result of evaluating the expression