API.text = function(text, x, y, flags, angle, align);
var doc = new jsPDF(); doc.text('Hi How are you', 40, 250, 'center');