public interface IMathRadical extends IMathElement
Specifies the radical function, consisting of a base, and an optional degree. Example of radical object is √𝑥.
Example:IMathRadical radical = new MathematicalText("x").radical("3"); // cube root
Modifier and Type | Method and Description |
---|---|
IMathElement |
getBase()
Base argument
|
IMathElement |
getDegree()
Degree argument
|
boolean |
getHideDegree()
Hide degree
When is true, the degree is not shown, as in √𝑥
|
void |
setHideDegree(boolean value)
Hide degree
When is true, the degree is not shown, as in √𝑥
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
IMathElement getBase()
Base argument
Example:IMathRadical radical = new MathematicalText("x").radical("3"); // cube root IMathElement baseElem = radical.getBase();
IMathElement getDegree()
Degree argument
Example:IMathRadical radical = new MathematicalText("x").radical("3"); // cube root IMathElement degreeElem = radical.getDegree();
boolean getHideDegree()
Hide degree When is true, the degree is not shown, as in √𝑥
Example:IMathRadical radical = new MathematicalText("x").radical("3"); // cube root radical.setHideDegree(true);
void setHideDegree(boolean value)
Hide degree When is true, the degree is not shown, as in √𝑥
Example:IMathRadical radical = new MathematicalText("x").radical("3"); // cube root radical.setHideDegree(true);