public class LandShapePainter extends GlimpsePainter2D
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
LandShapePainter() |
Modifier and Type | Method and Description |
---|---|
void |
centerAxesOnShape(Shape shape,
Axis2D axis) |
void |
deleteAll() |
void |
dispose(javax.media.opengl.GLContext context) |
void |
loadLandFile(File file,
GeoProjection geoProjection)
Deprecated.
|
void |
loadLandFile(InputStream in,
GeoProjection geoProjection)
Deprecated.
|
void |
loadLandFile(String file,
GeoProjection geoProjection)
Deprecated.
|
void |
loadLandFileAndCenterAxis(File file,
GeoProjection geoProjection,
Axis2D axis)
Deprecated.
|
void |
loadLandFileAndCenterAxis(LandShapeCapable landFile,
GeoProjection geoProjection,
Axis2D axis) |
void |
loadLandFileAndCenterAxis(LandShape landShape,
GeoProjection geoProjection,
Axis2D axis) |
void |
loadNdgcLandFile(InputStream in,
GeoProjection geoProjection) |
void |
loadNgdcLandFile(File file,
GeoProjection geoProjection) |
void |
loadNgdcLandFile(String file,
GeoProjection geoProjection) |
void |
loadNgdcLandFileAndCenterAxis(File file,
GeoProjection geoProjection,
Axis2D axis) |
void |
loadNgdcLandFileAndCenterAxis(InputStream in,
GeoProjection geoProjection,
Axis2D axis) |
void |
paintTo(GlimpseContext context,
GlimpseBounds bounds,
Axis2D axis) |
void |
setFill(boolean show) |
void |
setFillColor(float[] rgba) |
void |
setFillColor(float r,
float g,
float b,
float a) |
void |
setLineColor(float[] rgba) |
void |
setLineColor(float r,
float g,
float b,
float a) |
void |
setLineDotted(boolean dotted) |
void |
setLineDotted(int stippleFactor,
short stipplePattern) |
void |
setLineWidth(int width) |
void |
setPolyDotted(boolean dotted) |
void |
setPolyDotted(byte[] stipple) |
void |
setShowLines(boolean show) |
paintTo
dispose, isDisposed, isVisible, paintTo, setErrorHandling, setLookAndFeel, setVisible
@Deprecated public void loadLandFile(InputStream in, GeoProjection geoProjection) throws IOException
in
- geoProjection
- IOException
public void loadNdgcLandFile(InputStream in, GeoProjection geoProjection) throws IOException
IOException
@Deprecated public void loadLandFile(String file, GeoProjection geoProjection) throws IOException
file
- geoProjection
- IOException
public void loadNgdcLandFile(String file, GeoProjection geoProjection) throws IOException
IOException
@Deprecated public void loadLandFile(File file, GeoProjection geoProjection) throws IOException
file
- geoProjection
- IOException
public void loadNgdcLandFile(File file, GeoProjection geoProjection) throws IOException
IOException
@Deprecated public void loadLandFileAndCenterAxis(File file, GeoProjection geoProjection, Axis2D axis) throws IOException
file
- geoProjection
- axis
- IOException
public void loadNgdcLandFileAndCenterAxis(InputStream in, GeoProjection geoProjection, Axis2D axis) throws IOException
IOException
public void loadNgdcLandFileAndCenterAxis(File file, GeoProjection geoProjection, Axis2D axis) throws IOException
IOException
public void loadLandFileAndCenterAxis(LandShapeCapable landFile, GeoProjection geoProjection, Axis2D axis) throws IOException
IOException
public void loadLandFileAndCenterAxis(LandShape landShape, GeoProjection geoProjection, Axis2D axis) throws IOException
IOException
public void setLineColor(float r, float g, float b, float a)
public void setLineColor(float[] rgba)
public void setLineWidth(int width)
public void setShowLines(boolean show)
public void setPolyDotted(byte[] stipple)
public void setPolyDotted(boolean dotted)
public void setLineDotted(boolean dotted)
public void setLineDotted(int stippleFactor, short stipplePattern)
public void setFill(boolean show)
public void setFillColor(float[] rgba)
public void setFillColor(float r, float g, float b, float a)
public void deleteAll()
public void dispose(javax.media.opengl.GLContext context)
public void paintTo(GlimpseContext context, GlimpseBounds bounds, Axis2D axis)
paintTo
in class GlimpsePainter2D
Copyright © 2016 Metron, Inc.. All rights reserved.