Implemented the shape editor and updated the screenshot. API: added drawLine() and drawRay().