IMathRadical

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathRadical extends IMathElement

Specifies the radical function, consisting of a base, and an optional degree. Example of radical object is \u221a\ud835\udc65.


Example:
 
 IMathRadical radical = new MathematicalText("x").radical("3"); // cube root

Methods

MethodDescription
getBase()Base argument
getDegree()Degree argument
getHideDegree()Hide degree When is true, the degree is not shown, as in \u221a\ud835\udc65
setHideDegree(boolean value)Hide degree When is true, the degree is not shown, as in \u221a\ud835\udc65

getBase()

public abstract IMathElement getBase()

Base argument


Example:
 
 IMathRadical radical = new MathematicalText("x").radical("3"); // cube root
 IMathElement baseElem = radical.getBase();

Returns: IMathElement

getDegree()

public abstract IMathElement getDegree()

Degree argument


Example:
 
 IMathRadical radical = new MathematicalText("x").radical("3"); // cube root
 IMathElement degreeElem = radical.getDegree();

Returns: IMathElement

getHideDegree()

public abstract boolean getHideDegree()

Hide degree When is true, the degree is not shown, as in \u221a\ud835\udc65


Example:
 
 IMathRadical radical = new MathematicalText("x").radical("3"); // cube root
 radical.setHideDegree(true);

Returns: boolean

setHideDegree(boolean value)

public abstract void setHideDegree(boolean value)

Hide degree When is true, the degree is not shown, as in \u221a\ud835\udc65


Example:
 
 IMathRadical radical = new MathematicalText("x").radical("3"); // cube root
 radical.setHideDegree(true);

Parameters:

ParameterTypeDescription
valueboolean