Modifier and Type | Field and Description |
---|---|
static int |
HORIZONTAL |
static int |
VERTICAL |
Constructor and Description |
---|
ImageLegend(ImageInfo imageInfo,
RasterDataNode raster) |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
createImage() |
int |
getBackgroundAlpha() |
Color |
getBackgroundColor() |
float |
getBackgroundTransparency() |
Font |
getFont() |
Color |
getForegroundColor() |
String |
getHeaderText() |
ImageInfo |
getImageInfo() |
int |
getOrientation() |
RasterDataNode |
getRaster() |
boolean |
isAlphaUsed() |
boolean |
isAntialiasing() |
boolean |
isBackgroundTransparencyEnabled() |
boolean |
isUsingHeader() |
void |
setAntialiasing(boolean antialiasing) |
void |
setBackgroundColor(Color backgroundColor) |
void |
setBackgroundTransparency(float backgroundTransparency) |
void |
setBackgroundTransparencyEnabled(boolean backgroundTransparencyEnabled) |
void |
setFont(Font font) |
void |
setForegroundColor(Color foregroundColor) |
void |
setHeaderText(String headerText) |
void |
setOrientation(int orientation) |
void |
setUsingHeader(boolean usingHeader) |
public static final int HORIZONTAL
public static final int VERTICAL
public ImageLegend(ImageInfo imageInfo, RasterDataNode raster)
public ImageInfo getImageInfo()
public RasterDataNode getRaster()
public boolean isUsingHeader()
public void setUsingHeader(boolean usingHeader)
public String getHeaderText()
public void setHeaderText(String headerText)
public int getOrientation()
public void setOrientation(int orientation)
public Font getFont()
public void setFont(Font font)
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
public boolean isAntialiasing()
public void setAntialiasing(boolean antialiasing)
public boolean isBackgroundTransparencyEnabled()
public void setBackgroundTransparencyEnabled(boolean backgroundTransparencyEnabled)
public float getBackgroundTransparency()
public void setBackgroundTransparency(float backgroundTransparency)
public boolean isAlphaUsed()
public int getBackgroundAlpha()
public BufferedImage createImage()
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.