2using System.Collections.Generic;
38 return new string[] {
"H",
"S",
"V",
"A" };
66 H = Math.IEEERemainder(H, 360);
Class managing a script expression.
static double ToDouble(object Object)
Converts an object to a double value.
Returns a color value using HSV coordinates, and an alpha component.
override string[] DefaultArgumentNames
Default Argument names
override string FunctionName
Name of the function
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
HSVA(ScriptNode H, ScriptNode S, ScriptNode V, ScriptNode A, int Start, int Length, Expression Expression)
Returns a color value using HSV coordinates, and an alpha component.
static SKColor ToColorHSV(double H, double S, double V)
Creates a Color from its HSV representation.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes4Scalar
Four scalar parameters.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
Expression Expression
Expression of which the node is a part.
int Start
Start position in script expression.
Basic interface for all types of elements.