ETSelectionAreaItem class documentation

Authors

Quentin Mathe (qmathe@club-internet.fr)
Layout item to represent any kind of selection area.

Copyright: (C) 2007 Quentin Mathe

Software documentation for the ETSelectionAreaItem class

ETSelectionAreaItem : ETLayoutItem

Declared in:
ETSelectionAreaItem.h
ETSelectionAreaItem is a layout item which can be used to represent any selection area indepently of:

ETSelectionAreaItem is initialized with a rectangular ETShape, but the shape can be customized with -setStyle: . For example: [selectionAreaItem setStyle: [ETShape ovalShapeWithRect: [selectionAreaItem contentBounds]];

An ETTool subclass is expected to provide a prototype which can be customized (color, shape, opacity etc.). See -[ETSelectionTool selectionAreaItem] and ETShape to learn what you can customize.

ETSelectionTool used ETSelectionAreaItem to implement visual feedback when the selection is underway (aka rubber-banding).