Class GeoImage
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.geoimg.GeoImage
-
- All Implemented Interfaces:
ReferencedImage,Disposable,AlphaSetting
- Direct Known Subclasses:
GeoTIFFImage
public class GeoImage extends Object implements ReferencedImage, Disposable, AlphaSetting
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()intgetAlpha()org.locationtech.jts.geom.EnvelopegetEnvelope()StringgetLoader()StringgetType()voidpaint(Feature f, Graphics2D g, Viewport viewport)actually paint the image to the viewportvoidsetAlpha(int alpha)
-
-
-
Constructor Detail
-
GeoImage
public GeoImage(String location, Object reader) throws JUMPException
- Throws:
JUMPException
-
-
Method Detail
-
getEnvelope
public org.locationtech.jts.geom.Envelope getEnvelope()
- Specified by:
getEnvelopein interfaceReferencedImage
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws ReferencedImageException
actually paint the image to the viewport- Specified by:
paintin interfaceReferencedImage- Throws:
ReferencedImageException
-
getType
public String getType()
- Specified by:
getTypein interfaceReferencedImage
-
getLoader
public String getLoader()
- Specified by:
getLoaderin interfaceReferencedImage
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
getAlpha
public int getAlpha()
- Specified by:
getAlphain interfaceAlphaSetting
-
setAlpha
public void setAlpha(int alpha)
- Specified by:
setAlphain interfaceAlphaSetting
-
-