IMathDelimiter

All Implemented Interfaces: com.aspose.slides.IMathElement

public interface IMathDelimiter extends IMathElement

Specifies the delimiter object, consisting of opening and closing characters (such as parentheses, braces, brackets, and vertical bars), and one or more mathematical elements inside, separated by a specified character. Examples: (\ud835\udc652); [\ud835\udc652|\ud835\udc662]


Example:
 
 IMathElement element = new MathematicalText("x");
 IMathDelimiter delimiter = element.enclose();

Methods

MethodDescription
getArguments()One or more mathematical elements separated by delimiter characters
getBeginningCharacter()Delimiter Beginning Character specifies the beginning, or opening, delimiter character.
setBeginningCharacter(char value)Delimiter Beginning Character specifies the beginning, or opening, delimiter character.
getSeparatorCharacter()Delimiter Separator Character specifies the character that separates arguments in the delimiter object.
setSeparatorCharacter(char value)Delimiter Separator Character specifies the character that separates arguments in the delimiter object.
getEndingCharacter()Delimiter Ending Character specifies the ending, or closing, delimiter character.
setEndingCharacter(char value)Delimiter Ending Character specifies the ending, or closing, delimiter character.
getGrowToMatchOperandHeight()Specifies the growth of BeginningCharacter, SeparatorCharacter, EndingCharacter When true, the delimiters grows vertically to match its operand height.
setGrowToMatchOperandHeight(boolean value)Specifies the growth of BeginningCharacter, SeparatorCharacter, EndingCharacter When true, the delimiters grows vertically to match its operand height.
getDelimiterShape()Specifies the shape of delimiters in the delimiter object.
setDelimiterShape(int value)Specifies the shape of delimiters in the delimiter object.
delimit(char separatorCharacter)Delimits arguments using the specified delimiter character

getArguments()

public abstract IMathElementCollection getArguments()

One or more mathematical elements separated by delimiter characters


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 IMathElementCollection arguments = delimiter.getArguments();

Returns: IMathElementCollection

getBeginningCharacter()

public abstract char getBeginningCharacter()

Delimiter Beginning Character specifies the beginning, or opening, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default value: ‘(’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setBeginningCharacter('[');

Returns: char

setBeginningCharacter(char value)

public abstract void setBeginningCharacter(char value)

Delimiter Beginning Character specifies the beginning, or opening, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default value: ‘(’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setBeginningCharacter('[');

Parameters:

ParameterTypeDescription
valuechar

getSeparatorCharacter()

public abstract char getSeparatorCharacter()

Delimiter Separator Character specifies the character that separates arguments in the delimiter object. The default: ‘|’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setSeparatorCharacter('$');

Returns: char

setSeparatorCharacter(char value)

public abstract void setSeparatorCharacter(char value)

Delimiter Separator Character specifies the character that separates arguments in the delimiter object. The default: ‘|’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setSeparatorCharacter('$');

Parameters:

ParameterTypeDescription
valuechar

getEndingCharacter()

public abstract char getEndingCharacter()

Delimiter Ending Character specifies the ending, or closing, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default: ‘)’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setEndingCharacter(']');

Returns: char

setEndingCharacter(char value)

public abstract void setEndingCharacter(char value)

Delimiter Ending Character specifies the ending, or closing, delimiter character. Mathematical delimiters are enclosing characters such as parentheses, brackets, and braces. The default: ‘)’.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.setEndingCharacter(']');

Parameters:

ParameterTypeDescription
valuechar

getGrowToMatchOperandHeight()

public abstract boolean getGrowToMatchOperandHeight()

Specifies the growth of BeginningCharacter, SeparatorCharacter, EndingCharacter When true, the delimiters grows vertically to match its operand height. The default value is true


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").divide("y").enclose();
 delimiter.setGrowToMatchOperandHeight(false);

Returns: boolean

setGrowToMatchOperandHeight(boolean value)

public abstract void setGrowToMatchOperandHeight(boolean value)

Specifies the growth of BeginningCharacter, SeparatorCharacter, EndingCharacter When true, the delimiters grows vertically to match its operand height. The default value is true


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").divide("y").enclose();
 delimiter.setGrowToMatchOperandHeight(false);

Parameters:

ParameterTypeDescription
valueboolean

getDelimiterShape()

public abstract int getDelimiterShape()

Specifies the shape of delimiters in the delimiter object. When is MathDelimiterShape.Centered, delimiters are centered around the math axis of the mathematical text and still be made to fit the entire height of their contents. When is MathDelimiterShape.Match, their height and shape are altered to exactly match their contents.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").divide("y").enclose();
 delimiter.setDelimiterShape(MathDelimiterShape.Match);

Returns: int

setDelimiterShape(int value)

public abstract void setDelimiterShape(int value)

Specifies the shape of delimiters in the delimiter object. When is MathDelimiterShape.Centered, delimiters are centered around the math axis of the mathematical text and still be made to fit the entire height of their contents. When is MathDelimiterShape.Match, their height and shape are altered to exactly match their contents.


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").divide("y").enclose();
 delimiter.setDelimiterShape(MathDelimiterShape.Match);

Parameters:

ParameterTypeDescription
valueint

delimit(char separatorCharacter)

public abstract IMathDelimiter delimit(char separatorCharacter)

Delimits arguments using the specified delimiter character


Example:
 
 IMathDelimiter delimiter = new MathematicalText("x").join("y").enclose();
 delimiter.delimit('|');

Parameters:

ParameterTypeDescription
separatorCharacterchardelimiter character

Returns: IMathDelimiter - This object after applying the delimiter character