Class PathsWithLabels


  • public class PathsWithLabels
    extends ApplicationTemplate
    Example of how to draw a path with a text annotation attached to the path. The annotation will adjust to stay in view as long as part of the path is visible in the viewport.
    • Field Detail

      • SAN_JUAN_COUNTY_1

        protected static final double[] SAN_JUAN_COUNTY_1
      • SAN_JUAN_COUNTY_2

        protected static final double[] SAN_JUAN_COUNTY_2
      • SAN_JUAN_COUNTY_3

        protected static final double[] SAN_JUAN_COUNTY_3
    • Constructor Detail

      • PathsWithLabels

        public PathsWithLabels()
    • Method Detail

      • main

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