Package org.esa.snap.core.datamodel
Class ImageLegend
java.lang.Object
org.esa.snap.core.datamodel.ImageLegend
The
ImageLegend class is used to generate an image legend from a ImageInfo instance.- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatgetFont()intbooleanbooleanbooleanbooleanvoidsetAntialiasing(boolean antialiasing) voidsetBackgroundColor(Color backgroundColor) voidsetBackgroundTransparency(float backgroundTransparency) voidsetBackgroundTransparencyEnabled(boolean backgroundTransparencyEnabled) voidvoidsetForegroundColor(Color foregroundColor) voidsetHeaderText(String headerText) voidsetOrientation(int orientation) voidsetUsingHeader(boolean usingHeader)
-
Field Details
-
HORIZONTAL
public static final int HORIZONTAL- See Also:
-
VERTICAL
public static final int VERTICAL- See Also:
-
-
Constructor Details
-
ImageLegend
-
-
Method Details
-
getImageInfo
-
getRaster
-
isUsingHeader
public boolean isUsingHeader() -
setUsingHeader
public void setUsingHeader(boolean usingHeader) -
getHeaderText
-
setHeaderText
-
getOrientation
public int getOrientation() -
setOrientation
public void setOrientation(int orientation) -
getFont
-
setFont
-
getBackgroundColor
-
setBackgroundColor
-
getForegroundColor
-
setForegroundColor
-
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
-