getLineString method for ofxTextObject