Package:
diva.canvas.decorators
Status:
0.1. Preliminary. Published to ptdesign. 05/05/98.
Last updated:
May 5th, 1998.
See also:
The Diva canvas
Copyright
Contents
The interface implemented by objects that know how to "highlight" figures. By "highlight," we mean any operation that creates some additional drawing on the screen that is attached to a given figure.
The interface implemented by objects that are used as grab-handles. A grab-handle is notionally attached to a feature of a glyph.
When a grab-handle is moved, it typically reshapes the glyph to which it is attached by asking the glyph to move the corresponding feature. Sometimes, however, more complex behavior is needed -- for example, grab handles attached to a rectangle also need to cause other grab-handles to move. This interface provides a way for glyphs to tailor the behavior of their grab-handles. Classes that implement this interface are assumed to create immutable objects.
The interface implemented by objects that produce grab-handles.
The basic highlighter highlights a figure by drawing a colored shape just behind the figure.
The basic grabhandle is a basic rectangle that is unfilled when deselected and filled when selected.
The basic grab-handle factory produces basic grab-handles.