added documentation to Graphics