public Canvas canvas ;

Descripción

A reference to the Canvas this Graphic is rendering to.

In the situation where the Graphic is used in a hierarchy with multiple Canvases, the Canvas closest to the root will be used.