Module io.sf.carte.css4j
Package io.sf.carte.doc.style.css
Enum Class CSSMathFunctionValue.MathFunction
java.lang.Object
java.lang.Enum<CSSMathFunctionValue.MathFunction>
io.sf.carte.doc.style.css.CSSMathFunctionValue.MathFunction
- All Implemented Interfaces:
Serializable
,Comparable<CSSMathFunctionValue.MathFunction>
,java.lang.constant.Constable
- Enclosing interface:
CSSMathFunctionValue
public static enum CSSMathFunctionValue.MathFunction
extends Enum<CSSMathFunctionValue.MathFunction>
Enumeration of mathematical functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionabs()
function.acos()
function.asin()
function.atan()
function.atan2()
function.clamp()
function.cos()
function.exp()
function.hypot()
function.hypot2()
function.log()
function.max()
function.min()
function.mod()
function.Mainly used to know the number of functions via the ordinal.pow()
function.rem()
function.round()
function.sign()
function.sin()
function.sqrt()
function.tan()
function. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CSSMathFunctionValue.MathFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABS
abs()
function. -
CLAMP
clamp()
function. -
MAX
max()
function. -
MIN
min()
function. -
ROUND
round()
function. -
MOD
mod()
function. -
REM
rem()
function. -
HYPOT
hypot()
function. -
HYPOT2
hypot2()
function. -
LOG
log()
function. -
EXP
exp()
function. -
SQRT
sqrt()
function. -
POW
pow()
function. -
SIGN
sign()
function. -
SIN
sin()
function. -
COS
cos()
function. -
TAN
tan()
function. -
ASIN
asin()
function. -
ACOS
acos()
function. -
ATAN
atan()
function. -
ATAN2
atan2()
function. -
OTHER
Mainly used to know the number of functions via the ordinal.Must always be the last declared constant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-