addMathShape

addMathShape(float x, float y, float width, float height) function

Creates a new Autoshape tuned from default template to math content and adds it to the end of the collection.

Parameters

NameTypeDescription
xfloatThe X-coordinate for a left side of shape’s frame.
yfloatThe Y-coordinate for a top side of shape’s frame.
widthfloatThe width of shape’s frame.
heightfloatThe height of shape’s frame.

Result

AutoShape