Figure elements must implement a getBounds
method to determine the area that must be redrawn when the figure element is updated.
Computation of this bounding box of Group
objects needs to deal with all aggregate parts of the group, and this computation can be expensive. In this track, we will explore various ways of reducing this expense.
You can reuse the AspectJ project with the figure editor application you have created during the previous track(s). If you haven't got such a project yet, consult the Invariants: Intro page.
Start the track with Exercise 1.