Added Sprite.fromText() helper function