Class ImageLayer

All Implemented Interfaces:
ICustomPropertyProvider, IImageLayer, ILayer

public class ImageLayer extends Layer implements IImageLayer
  • Constructor Details

    • ImageLayer

      public ImageLayer()
  • Method Details

    • getImage

      public IMapImage getImage()
      Description copied from interface: IImageLayer
      Gets the image.
      Specified by:
      getImage in interface IImageLayer
      Returns:
      the image
    • getTransparentColor

      public Color getTransparentColor()
      Description copied from interface: IImageLayer
      Gets the transparent color.
      Specified by:
      getTransparentColor in interface IImageLayer
      Returns:
      the transparent color
    • repeatHorizontally

      public boolean repeatHorizontally()
      Description copied from interface: IImageLayer
      Gets a value indicating whether the image should be rendered repeatedly horizontally.
      Specified by:
      repeatHorizontally in interface IImageLayer
      Returns:
      True if the image should be repeated horizontally; Otherwise false.
    • repeatVertically

      public boolean repeatVertically()
      Description copied from interface: IImageLayer
      Gets a value indicating whether the image should be rendered repeatedly vertically.
      Specified by:
      repeatVertically in interface IImageLayer
      Returns:
      True if the image should be repeated vertically; Otherwise false.
    • getOffsetX

      public double getOffsetX()
      Description copied from interface: ILayer
      Gets the horizontal offset of the layer.
      Specified by:
      getOffsetX in interface ILayer
      Overrides:
      getOffsetX in class Layer
      Returns:
      the x offset
    • getOffsetY

      public double getOffsetY()
      Description copied from interface: ILayer
      Gets the vertical offset of the layer.
      Specified by:
      getOffsetY in interface ILayer
      Overrides:
      getOffsetY in class Layer
      Returns:
      the y offset