public interface ILcdShapeList extends ILcdShape
ILcdShapeList
is an ILcdShape
that consists of other
ILcdShape
objects (Composite pattern [Gamma et al.]).
The list can only be read, not modified.
Modifier and Type | Method and Description |
---|---|
ILcdShape |
getShape(int aIndex)
Returns the
ILcdShape at the given index. |
int |
getShapeCount()
Returns the number of
ILcdShape objects in the list. |
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
int getShapeCount()
ILcdShape
objects in the list.ILcdShape
objects in the list.ILcdShape getShape(int aIndex) throws IndexOutOfBoundsException
ILcdShape
at the given index.aIndex
- a valid index in the list of ILcdShape
objects.ILcdShape
at the given index.IndexOutOfBoundsException
- when the index is not valid.