CloneableRasterLayerpublic class ImageLayer extends MapLayer
| 限定符和类型 | 类 | 说明 |
|---|---|---|
class |
ImageLayer.ImageLayerBean |
|
static class |
ImageLayer.ImageLayerBeanBeanInfo |
|
static class |
ImageLayer.InterpolationEditor |
| 构造器 | 说明 |
|---|---|
ImageLayer() |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
List<Color> |
getColorsFromPaletteFile(String pFile) |
Get colors from palette file
|
BufferedImage |
getImage() |
Get image
|
Object |
getInterpolation() |
Get interpolation
|
String |
getInterpolationStr() |
Get interpolation string
|
Color |
getTransparencyColor() |
Get transparency color
|
String |
getWorldFileName() |
Get world file name of the layer
|
WorldFilePara |
getWorldFilePara() |
Get world file parameters
|
double |
getXRotate() |
Get x rotate(shear)
|
double |
getXScale() |
Get x scale
|
double |
getXUL() |
Get X upper-left
|
double |
getYRotate() |
Get y rotate(shear)
|
double |
getYScale() |
Get y scale
|
double |
getYUL() |
Get y upper-left
|
boolean |
isUseTransColor() |
Get if set transparency color
|
void |
readImageWorldFile(String aIFile) |
Read image world file
|
void |
setImage(BufferedImage image) |
Set image
|
void |
setInterpolation(Object value) |
Set interpolation object
|
void |
setInterpolation(String value) |
Set interpolation string
|
void |
setPalette(String aFile) |
Set color palette to a image from a palette file
|
void |
setPalette(List<Color> colors) |
Set palette
|
void |
setTransparencyColor(Color color) |
Set transparency color
|
void |
setUseTransColor(boolean istrue) |
Set if using transparency color
|
void |
setWorldFileName(String name) |
Set world file name
|
void |
setWorldFilePara(WorldFilePara value) |
Set world file parameters
|
void |
setXRotate(double value) |
Set x rotate(shear)
|
void |
setXScale(double value) |
Set x scale
|
void |
setXUL(double value) |
Set upper-left x
|
void |
setYRotate(double value) |
Set y rotate(shear)
|
void |
setYScale(double value) |
Set y scale
|
void |
setYUL(double value) |
Set upper-left y
|
void |
writeImageWorldFile(String aFile,
WorldFilePara aWFP) |
Write image world file
|
clone, getExtent, getFileName, getHandle, getLayerDrawType, getLayerInfo, getLayerName, getLayerType, getLegendScheme, getProjInfo, getShapeType, getTag, getTransparency, getVisibleScale, hasLegendScheme, isExpanded, isMaskout, isVisible, saveFile, saveFile, setExpanded, setExtent, setFileName, setHandle, setLayerDrawType, setLayerName, setLayerType, setLegendScheme, setMaskout, setProjInfo, setShapeType, setTag, setTransparency, setVisible, setVisibleScale, toStringprotected Object interp
public BufferedImage getImage()
public void setImage(BufferedImage image)
image - The imagepublic String getWorldFileName()
public void setWorldFileName(String name)
name - World file namepublic WorldFilePara getWorldFilePara()
public void setWorldFilePara(WorldFilePara value)
value - World file parameterspublic boolean isUseTransColor()
public void setUseTransColor(boolean istrue)
istrue - Booleanpublic Color getTransparencyColor()
public void setTransparencyColor(Color color)
color - The colorpublic double getXUL()
public void setXUL(double value)
throws IOException
value - The valueIOExceptionpublic double getYUL()
public void setYUL(double value)
throws IOException
value - The valueIOExceptionpublic double getXScale()
public void setXScale(double value)
throws IOException
value - The valueIOExceptionpublic double getYScale()
public void setYScale(double value)
throws IOException
value - The y scale valueIOExceptionpublic double getXRotate()
public void setXRotate(double value)
throws IOException
value - ValueIOExceptionpublic double getYRotate()
public void setYRotate(double value)
throws IOException
value - ValueIOExceptionpublic Object getInterpolation()
public String getInterpolationStr()
public void setInterpolation(Object value)
value - Interpolation objectpublic void setInterpolation(String value)
value - Interpolation stringpublic void readImageWorldFile(String aIFile) throws FileNotFoundException, IOException
aIFile - Image world file pathFileNotFoundExceptionIOExceptionpublic void writeImageWorldFile(String aFile, WorldFilePara aWFP) throws IOException
aFile - File pathaWFP - WorldFileParaIOExceptionpublic List<Color> getColorsFromPaletteFile(String pFile)
pFile - Palette file pathpublic void setPalette(String aFile)
aFile - File pathCopyright © 2019. All rights reserved.