Class SkyColorLayer

    • Constructor Detail

      • SkyColorLayer

        public SkyColorLayer()
        Paints the sky color background depending on altitude
      • SkyColorLayer

        public SkyColorLayer​(java.awt.Color color)
        Paints the sky color background depending on altitude
        Parameters:
        color - the sky Color
    • Method Detail

      • getSkyColor

        public java.awt.Color getSkyColor()
        Get the sky Color
        Returns:
        the sky color
      • setSkyColor

        public void setSkyColor​(java.awt.Color color)
        Set the sky Color
        Parameters:
        color - the sky color
      • getFadeBottomAltitude

        public double getFadeBottomAltitude()
        Get the bottom altitude for the fade effect (meters)
        Returns:
        the bottom altitude in meters
      • setFadeBottomAltitude

        public void setFadeBottomAltitude​(double alt)
        Set the bottom altitude for the fade effect (meters)
        Parameters:
        alt - the bottom altitude in meters
      • getFadeTopAltitude

        public double getFadeTopAltitude()
        Get the top altitude for the fade effect (meters)
        Returns:
        the top altitude in meters
      • setFadeTopAltitude

        public void setFadeTopAltitude​(double alt)
        Set the top altitude for the fade effect (meters)
        Parameters:
        alt - the top altitude in meters