Class LandShapePainter

  • All Implemented Interfaces:
    GlimpsePainter
    Direct Known Subclasses:
    NdgcLandPainter

    public class LandShapePainter
    extends GlimpsePainterBase
    Originally designed to display shoreline data available from the NOAA/NGDC Coastline Extractor tool at http://www.ngdc.noaa.gov/mgg_coastline/

    Now capable of painting all LandShapes, NdgcFile shapes as wells as Gshhs shapes. When downloading ndgc data, choose the following options: World Vector Shoreline Compression Method: None Coast Format: Mapgen Coast Preview: No Preview
    Author:
    ulman, cunningham
    • Constructor Detail

      • LandShapePainter

        public LandShapePainter()
    • Method Detail

      • centerAxesOnShape

        public void centerAxesOnShape​(Shape shape,
                                      Axis2D axis)
      • setLineColor

        public void setLineColor​(float r,
                                 float g,
                                 float b,
                                 float a)
      • setLineColor

        public void setLineColor​(float[] rgba)
      • setLineWidth

        public void setLineWidth​(int width)
      • setShowLines

        public void setShowLines​(boolean show)
      • setPolyDotted

        public void setPolyDotted​(byte[] stipple)
      • setPolyDotted

        public void setPolyDotted​(boolean dotted)
      • setLineDotted

        public void setLineDotted​(boolean dotted)
      • setLineDotted

        public void setLineDotted​(int stippleFactor,
                                  short stipplePattern)
      • setFill

        public void setFill​(boolean show)
      • setFillColor

        public void setFillColor​(float[] rgba)
      • setFillColor

        public void setFillColor​(float r,
                                 float g,
                                 float b,
                                 float a)
      • deleteAll

        public void deleteAll()