public static class DefaultFunctionFactory.GradientFunction extends BaseFunction
| Constructor and Description |
|---|
GradientFunction() |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.Color |
blend(java.awt.Color c1,
java.awt.Color c2,
double percentage) |
QualifiedValue |
execute(Expression[] args)
Execute this function, and return the function's qualified value.
|
java.lang.String |
getArgDocString()
Returns a string to be used in the auto-generated function documentation.
|
java.lang.Class<?> |
getType()
Returns the type of Object that this function will generate with execute
|
void |
initArgs(Expression[] args)
Initialize this function with the given arguments.
|
connect, copy, disconnect, executeAll, shutdown, startuppublic static java.awt.Color blend(java.awt.Color c1,
java.awt.Color c2,
double percentage)
public QualifiedValue execute(Expression[] args) throws ExpressionException
FunctionExpressionExceptionpublic void initArgs(Expression[] args)
Functionpublic java.lang.String getArgDocString()
Functionpublic java.lang.Class<?> getType()
Function