All Superinterfaces:
ICustomPropertyProvider
All Known Implementing Classes:
MapImage

public interface IMapImage
extends ICustomPropertyProvider
  • Method Details

    • getAbsoluteSourcePath

      java.net.URL getAbsoluteSourcePath()
    • getWidth

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

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

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

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

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

      boolean equals​(java.lang.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 java.lang.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​(java.awt.Color color)
    • setSource

      void setSource​(java.lang.String source)
    • setAbsoluteSourcePath

      void setAbsoluteSourcePath​(java.net.URL absolutePath)
    • setWidth

      void setWidth​(int width)
    • setHeight

      void setHeight​(int height)