Class LineBackground


  • public class LineBackground
    extends ApplicationTemplate
    Illustrates how to display lines that stand out from the background imagery. The technique is to draw behind the line a slightly wider, slightly opaque line in a contrasting color. This backing line makes the primary line stand out more than it otherwise would. This example shows how to do this for both SurfacePolyline and terrain-conforming Path.
    • Constructor Detail

      • LineBackground

        public LineBackground()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)