Figures

The centerpiece of the Diva canvas, at least as far as the canvas programmer is concerned, is the figure. A figure is a two-dimensional object that is drawn on the screen. It has state and properties, and can take part in interactive input from the user.

This section describes the interfaces and classes that are provided by the Diva canvas to support the concept of "figure." Note that there are actually very few concrete figure classes documented here -- additional classes will be in diva.canvas.toolbox -- but mostly the figure interfaces are designed to make it easy to build figures for application-specific needs.


Top: The Diva Canvas Previous: The JCanvas architecture Next: Events and interaction