Interface IMapSection


  • public interface IMapSection
    Defining a section on the map.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2013 Created on Jan 27, 2013
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javafx.geometry.Point2D getCross()
      Retrieve the location of the cross in the coordinates of IMap
      int getDimension()
      Retrieve the width and height of the section
      int getXOffset()
      Retrieve the offset on IMap in X direction
      int getYOffset()
      Retrieve the offset on IMap in Y direction
    • Method Detail

      • getXOffset

        int getXOffset()
        Retrieve the offset on IMap in X direction
        Returns:
        horizontal offset of the map section
      • getYOffset

        int getYOffset()
        Retrieve the offset on IMap in Y direction
        Returns:
        vertical offset of the map section
      • getDimension

        int getDimension()
        Retrieve the width and height of the section
        Returns:
        dimension of one map section.
      • getCross

        javafx.geometry.Point2D getCross()
        Retrieve the location of the cross in the coordinates of IMap
        Returns:
        location of the "x marks the spot"