Class ContourFeatureRenderer

    • Constructor Detail

      • ContourFeatureRenderer

        public ContourFeatureRenderer​(ContourGrid conGrid,
                                      ucar.unidata.geoloc.ProjectionImpl dataProjection)
        cstr
    • Method Detail

      • setShowLabels

        public void setShowLabels​(boolean showlabels)
        set switch whether contours labels are desired. default true is set in cstr.
      • draw

        public void draw​(Graphics2D g,
                         AffineTransform deviceFromNormalAT)
        Overrides the GisFeatureRenderer draw() method, to draw contours and with contour labels.
        Specified by:
        draw in interface Renderer
        Overrides:
        draw in class GisFeatureRenderer
        Parameters:
        g - the Graphics2D context on which to draw
        deviceFromNormalAT - transforms "Normalized Device" to Device coordinates