Interface IMapImage

All Superinterfaces:
ICustomPropertyProvider
All Known Implementing Classes:
MapImage

public interface IMapImage extends ICustomPropertyProvider
  • Method Details

    • getAbsoluteSourcePath

      URL getAbsoluteSourcePath()
    • getWidth

      int getWidth()
      Gets the width.
      Returns:
      the width
    • getHeight

      int getHeight()
      Gets the height.
      Returns:
      the height
    • getDimension

      Dimension getDimension()
      Gets the dimension.
      Returns:
      the dimension
    • getSource

      String getSource()
      Gets the source.
      Returns:
      the source
    • getTransparentColor

      Color getTransparentColor()
      Gets the transparent color.
      Returns:
      the transparent color
    • equals

      boolean equals(Object anObject)
      Tests for equality between two map images. Two map images are equal if they have the same absolute source path and the same transparent color.
      Overrides:
      equals in class Object
      Parameters:
      anObject - The map image to test for equality with
      Returns:
      Whether this map image is equal to the provided map image, or false if anObject is not a map image
    • setTransparentColor

      void setTransparentColor(Color color)
    • setSource

      void setSource(String source)
    • setAbsoluteSourcePath

      void setAbsoluteSourcePath(URL absolutePath)
    • setWidth

      void setWidth(int width)
    • setHeight

      void setHeight(int height)