qmathe@club-internet.fr)Layout item to represent any kind of selection area.
Copyright: (C) 2007 Quentin Mathe
- Declared in:
- ETSelectionAreaItem.h
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).