graphics class