ericdrowell/KineticJS — pull request #20 by matthieu-ravey (2012-05-10 09:17:47+00:00)
Title: Adding the maxWidth property to the Text Shape

Thus we can use the last (and optional) arguments of fillText() and strokeText as described in https://developer.mozilla.org/en/Drawing_text_using_a_canvas#fillText() and https://developer.mozilla.org/en/Drawing_text_using_a_canvas#strokeText()