how do i do this through the Graphics Object?