public interface IMathBar extends IMathElement
Specifies the bar function, consisting of a base argument and an overbar or underbar
Example:IMathBar mathBar = new MathBar(new MathematicalText("x"));
Modifier and Type | Method and Description |
---|---|
IMathElement |
getBase()
Base argument
|
int |
getPosition()
Position of the bar line.
|
void |
setPosition(int value)
Position of the bar line.
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getChildren, 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:IMathBar mathBar = new MathBar(new MathematicalText("x")); IMathElement base = mathBar.getBase();
int getPosition()
Position of the bar line. Default: Top
Example:IMathBar mathBar = new MathBar(new MathematicalText("x")); mathBar.setPosition(MathTopBotPositions.Bottom);
void setPosition(int value)
Position of the bar line. Default: Top
Example:IMathBar mathBar = new MathBar(new MathematicalText("x")); mathBar.setPosition(MathTopBotPositions.Bottom);