Class ImageLegend

java.lang.Object
org.esa.snap.core.datamodel.ImageLegend

public class ImageLegend extends Object
The ImageLegend class is used to generate an image legend from a ImageInfo instance.
Version:
$Revision$ $Date$
  • Field Details

  • Constructor Details

  • Method Details

    • getImageInfo

      public ImageInfo getImageInfo()
    • getRaster

      public RasterDataNode getRaster()
    • isUsingHeader

      public boolean isUsingHeader()
    • setUsingHeader

      public void setUsingHeader(boolean usingHeader)
    • getHeaderText

      public String getHeaderText()
    • setHeaderText

      public void setHeaderText(String headerText)
    • getOrientation

      public int getOrientation()
    • setOrientation

      public void setOrientation(int orientation)
    • getFont

      public Font getFont()
    • setFont

      public void setFont(Font font)
    • getBackgroundColor

      public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • getForegroundColor

      public Color getForegroundColor()
    • setForegroundColor

      public void setForegroundColor(Color foregroundColor)
    • isAntialiasing

      public boolean isAntialiasing()
    • setAntialiasing

      public void setAntialiasing(boolean antialiasing)
    • isBackgroundTransparencyEnabled

      public boolean isBackgroundTransparencyEnabled()
    • setBackgroundTransparencyEnabled

      public void setBackgroundTransparencyEnabled(boolean backgroundTransparencyEnabled)
    • getBackgroundTransparency

      public float getBackgroundTransparency()
    • setBackgroundTransparency

      public void setBackgroundTransparency(float backgroundTransparency)
    • isAlphaUsed

      public boolean isAlphaUsed()
    • getBackgroundAlpha

      public int getBackgroundAlpha()
    • createImage

      public BufferedImage createImage()