MathRadical

Inheritance: java.lang.Object, com.aspose.slides.MathElementBase

All Implemented Interfaces: com.aspose.slides.IMathRadical, com.aspose.slides.IHasControlCharacterProperties

public final class MathRadical extends MathElementBase implements IMathRadical, IHasControlCharacterProperties

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


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));

Constructors

ConstructorDescription
MathRadical(IMathElement baseArgument, IMathElement degreeArgument)Initializes a new instance of the MathRadical class.

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
getControlCharacterProperties()Control Character Properties
getChildren()Get children elements

MathRadical(IMathElement baseArgument, IMathElement degreeArgument)

public MathRadical(IMathElement baseArgument, IMathElement degreeArgument)

Initializes a new instance of the MathRadical class.


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));

Parameters:

ParameterTypeDescription
baseArgumentIMathElementBase
degreeArgumentIMathElementDegree

getBase()

public final IMathElement getBase()

Base argument


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));
 IMathElement baseElem = radical.getBase();

Returns: IMathElement

getDegree()

public final IMathElement getDegree()

Degree argument


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));
 IMathElement degreeElem = radical.getDegree();

Returns: IMathElement

getHideDegree()

public final boolean getHideDegree()

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


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));
 radical.setHideDegree(true);

Returns: boolean

setHideDegree(boolean value)

public final void setHideDegree(boolean value)

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


Example:
 
 MathRadical radical = new MathRadical(new MathematicalText("x"), new MathematicalText("3"));
 radical.setHideDegree(true);

Parameters:

ParameterTypeDescription
valueboolean

getControlCharacterProperties()

public final OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()

Control Character Properties

Returns: com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps

getChildren()

public final IMathElement[] getChildren()

Get children elements

Returns: com.aspose.slides.IMathElement[]