org.shapelogic.polygon
Interface AnnotatedShape
- All Known Implementing Classes:
- AnnotatedShapeImplementation, BaseAnnotatedShape, ChainCodeHandler, MultiLine, MultiLinePolygon, Polygon
public interface AnnotatedShape
Interface of an annotated shape.
Polygon, MultiLine and ChainCodeHander implement this.
Currently there are a few base classes that implements the functionality in this.
And the other subclass them .
- Author:
- Sami Badawi
getMap
java.util.Map<java.lang.Object,java.util.Set<GeometricShape2D>> getMap()
putAnnotation
void putAnnotation(GeometricShape2D shape,
java.lang.Object annotation)
setup
void setup()
getAnnotatedShape
AnnotatedShapeImplementation getAnnotatedShape()
getShapesForAnnotation
java.util.Set<GeometricShape2D> getShapesForAnnotation(java.lang.Object annotation)
getAnnotationForShapes
java.util.Set<java.lang.Object> getAnnotationForShapes(GeometricShape2D shape)
putAllAnnotation
void putAllAnnotation(GeometricShape2D shape,
java.util.Set<java.lang.Object> annotationKeySet)
Copyright © 2009. All Rights Reserved.