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 TypeMethodDescriptionint
float
getFont()
int
boolean
boolean
boolean
boolean
void
setAntialiasing
(boolean antialiasing) void
setBackgroundColor
(Color backgroundColor) void
setBackgroundTransparency
(float backgroundTransparency) void
setBackgroundTransparencyEnabled
(boolean backgroundTransparencyEnabled) void
void
setForegroundColor
(Color foregroundColor) void
setHeaderText
(String headerText) void
setOrientation
(int orientation) void
setUsingHeader
(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
-