The g variable references an instance of a *subclass* of Graphics.