All Superinterfaces:
ICustomPropertyProvider
All Known Subinterfaces:
IGroupLayer, IImageLayer, IMapObjectLayer, ITileLayer
All Known Implementing Classes:
GroupLayer, ImageLayer, Layer, MapObjectLayer, TileLayer

public interface ILayer extends ICustomPropertyProvider
  • Method Details

    • getId

      int getId()
    • getName

      String getName()
      Gets the name.
      Returns:
      the name
    • setName

      void setName(String name)
    • getOpacity

      float getOpacity()
      Gets the opacity.
      Returns:
      the opacity
    • setOpacity

      void setOpacity(float opacity)
    • getOffset

      Point getOffset()
      Gets both the X and the Y offset of the layer.
      Returns:
      a Point representing the offset
    • getOffsetX

      int getOffsetX()
      Gets the horizontal offset of the layer.
      Returns:
      the x offset
    • getOffsetY

      int getOffsetY()
      Gets the vertical offset of the layer.
      Returns:
      the y offset
    • getSizeInTiles

      Dimension getSizeInTiles()
      Gets the size in tiles.
      Returns:
      the size in tiles
    • getMap

      IMap getMap()
    • isVisible

      boolean isVisible()
      Checks if is visible.
      Returns:
      true, if is visible
    • setVisible

      void setVisible(boolean visible)
    • getRenderType

      RenderType getRenderType()
    • setRenderType

      void setRenderType(RenderType renderType)
    • getWidth

      int getWidth()
    • setWidth

      void setWidth(int newWidth)
    • getHeight

      int getHeight()
    • setHeight

      void setHeight(int newWidth)