FractionEquationNode Class

FractionEquationNode class

This class specifies the fraction equation, consisting of a numerator and denominator separated by a fraction bar. The fraction bar can be horizontal or diagonal, depending on the fraction properties. The fraction equation is also used to represent the stack function, which places one element above another, with no fraction bar.


type FractionEquationNode struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewFractionEquationNodeConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetFractionTypeThis specifies the type of fraction ; the default is ‘Bar’.
SetFractionTypeThis specifies the type of fraction ; the default is ‘Bar’.
EqualsDetermine whether the current equation node is equal to the specified node
GetParentNodeSpecifies the parent node of the current node
SetParentNodeSpecifies the parent node of the current node
ToLaTeXConvert this equtation to LaTeX expression.
ToMathMLConvert this equtation to MathML expression.
AddChild_EquationNodeTypeInsert a node of the specified type at the end of the child node list of the current node.
AddChild_EquationNodeInserts the specified node at the end of the current node’s list of child nodes.
InsertChildInserts a node of the specified type at the specified index position in the current node’s child node list.
InsertAfterInserts the specified node after the current node.
InsertBeforeInserts the specified node before the current node.
GetChildReturns the node at the specified index among the children of the current node.
RemoveRemoves itself from the parent.
RemoveChild_EquationNodeRemoves the specified node from the current node’s children.
RemoveChild_IntRemoves the node at the specified index from the current node’s children.
RemoveAllChildrenRemoves all the child nodes of the current node.
GetTypeRepresents the type of the node.
GetEquationTypeGet the equation type of the current node
FractionEquationNode_CreateNodeCreate a node of the specified type.