com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class MathFunction

    • Constructor Detail

      • MathFunction

        public MathFunction(IMathElement funcName,
                            IMathElement baseArgument)

        Initializes a new instance of the MathFunction class.


        Example:
         
         MathFunction func = new MathFunction(new MathematicalText("sin"), new MathematicalText("x"));
         
      • MathFunction

        public MathFunction(java.lang.String funcName,
                            IMathElement baseArgument)

        Initializes a new instance of the MathFunction class.


        Example:
         
         MathFunction func = new MathFunction("sin", new MathematicalText("x"));
         
    • Method Detail

      • getName

        public final IMathElement getName()

        Function name For example, function names are sin and cos


        Example:
         
         IMathFunction func = new MathematicalText("sin").function("x");
         IMathElement funcName = func.getName();
         
        Specified by:
        getName in interface IMathFunction
      • getBase

        public final IMathElement getBase()

        Function Argument


        Example:
         
         IMathFunction func = new MathematicalText("sin").function("x");
         IMathElement base = func.getBase();
         
        Specified by:
        getBase in interface IMathFunction