| Constructor and Description |
|---|
MemoryShapeInfo() |
| 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
|
public void addShapeInfo(Rectangle2D boundingBox, int type)
ShapeInfoaddShapeInfo in interface ShapeInfoboundingBox - Extent del shape.type - Tipo de shape.ShapeInfo.addShapeInfo(java.awt.geom.Rectangle2D,
int)public void setShapeInfo(int index,
Rectangle2D boundingBox,
int type)
throws ArrayIndexOutOfBoundsException
ShapeInfosetShapeInfo in interface ShapeInfoindex - índice.boundingBox - Extent del shape.type - Tipo de shape.ArrayIndexOutOfBoundsException - Si se intenta establecer la
información para una geometría que no existeorg.gvsig.symbology.fmap.mapcontext.rendering.legend.strategies.ShapeInfo#addShapeInfo(int,
java.awt.geom.Rectangle2D, int)public Rectangle2D getBoundingBox(int index)
ShapeInfogetBoundingBox in interface ShapeInfoindex - índice de la geometría.ShapeInfo.getBoundingBox(int)public int getType(int index)
ShapeInfogetType in interface ShapeInfoindex - índice.ShapeInfo.getType(int)