Added JSDoc for Graphic2d constructor