public interface ShapeInfo
| Modifier and Type | Method and Description |
|---|---|
void |
addShapeInfo(Rectangle2D boundingBox,
int type)
Añade al final de la estructura de datos la información de una geometría
|
Rectangle2D |
getBoundingBox(int index)
Obtiene el bounding box de la geometría index-ésima
|
int |
getType(int index)
Obtiene el tipo de la geometría index-ésima
|
void |
setShapeInfo(int index,
Rectangle2D boundingBox,
int type)
Establece en la posición index-ésima de la estructura de datos la
información de una geometría
|
void addShapeInfo(Rectangle2D boundingBox, int type)
boundingBox - Extent del shape.type - Tipo de shape.void setShapeInfo(int index,
Rectangle2D boundingBox,
int type)
throws ArrayIndexOutOfBoundsException
index - índice.boundingBox - Extent del shape.type - Tipo de shape.ArrayIndexOutOfBoundsException - Si se intenta establecer la
información para una geometría que no existeRectangle2D getBoundingBox(int index)
index - índice de la geometría.int getType(int index)
index - índice.