2using System.Collections.Generic;
37 return new string[] {
"H",
"S",
"L" };
64 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 HSL coordinates.
override string[] DefaultArgumentNames
Default Argument names
HSL(ScriptNode H, ScriptNode S, ScriptNode L, int Start, int Length, Expression Expression)
Returns a color value using HSL coordinates.
override string FunctionName
Name of the function
override IElement Evaluate(IElement[] Arguments, Variables Variables)
Evaluates the function.
static SKColor ToColorHSL(double H, double S, double L)
Creates a Color from its HSL representation.
Base class for multivariate funcions.
ScriptNode[] Arguments
Function arguments.
static readonly ArgumentType[] argumentTypes3Scalar
Three 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.