Interface AnnotationPositionCalculator


public interface AnnotationPositionCalculator
This class calculates the position of an annotation layer. It has a method that calculates the Point where the annotation has to be displayed.
Author:
Jorge Piera Llodrá
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gvsig.fmap.geom.primitive.Point
    getAnnotationPosition(org.gvsig.fmap.dal.feature.Feature feature)
    This method returns the position where the annotation has to be displayed.
  • Method Details

    • getAnnotationPosition

      org.gvsig.fmap.geom.primitive.Point getAnnotationPosition(org.gvsig.fmap.dal.feature.Feature feature) throws AnnotationPositionCalculationException
      This method returns the position where the annotation has to be displayed.
      Parameters:
      feature - the feature that is used like input.
      Returns:
      the point where the annotation is displayed.
      Throws:
      AnnotationPositionCalculationException - if there is an exception calculating the point