Interface ILcdTileInfo

All Known Implementing Classes:
TLcdTileInfo

public interface ILcdTileInfo
This interface provides information about an ILcdTile: size, type, color model, and data. It also has a URL if a URL connection has been created to read the tile.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated.
    The offset is always 0.
    Returns the buffer segment that contains the actual data of the tile.
    Returns the optional color model of the tile.
    int
    Returns the height of the tile, expressed in pixels.
    int
    Returns the pixel size of the tile values, expressed in bits.
    int
    Returns the internal storage type of the tile values.
     
    int
    Returns the width of the tile, expressed in pixels.
    boolean
    Returns whether all values in the tile are equal to a default value.
    void
    setAllDefault(boolean aAllDefault)
    Sets whether all values in the tile are equal to a default value.
    void
    setURL(URL aURL)
    Sets the URL that was used to read the tile.
  • Method Details

    • getWidth

      int getWidth()
      Returns the width of the tile, expressed in pixels.
    • getHeight

      int getHeight()
      Returns the height of the tile, expressed in pixels.
    • getType

      int getType()
      Returns the internal storage type of the tile values.
      Returns:
      one of ILcdTile.BYTE, ILcdTile.SHORT, or ILcdTile.INT.
    • getPixelSize

      int getPixelSize()
      Returns the pixel size of the tile values, expressed in bits.
    • getBitOffset

      int getBitOffset()
      Deprecated.
      The offset is always 0.
      Returns the offset of the first pixel in every tile row, expressed in bits.
    • getColorModel

      ColorModel getColorModel()
      Returns the optional color model of the tile.
      Returns:
      the color model, or null if the raster doesn't have an explicit color model.
    • isAllDefault

      boolean isAllDefault()
      Returns whether all values in the tile are equal to a default value.
    • setAllDefault

      void setAllDefault(boolean aAllDefault)
      Sets whether all values in the tile are equal to a default value.
    • getURL

      URL getURL()
    • setURL

      void setURL(URL aURL)
      Sets the URL that was used to read the tile.
    • getBufferSegment

      ILcdBufferSegment getBufferSegment()
      Returns the buffer segment that contains the actual data of the tile.