createText function creates a text object and return text object
MObject of type Text
Generated using TypeDoc
createText function creates a text object and return text object