Class MarkerUtils


  • public class MarkerUtils
    extends java.lang.Object
    • Constructor Detail

      • MarkerUtils

        public MarkerUtils()
    • Method Detail

      • getMarkerForColor

        public static java.awt.Image getMarkerForColor​(java.awt.Color outer,
                                                       java.awt.Color inner,
                                                       Drawing.AlphaMode mode)
        Create an image to represent a marker using the given color for the outer and inner part, and the given mode for the inner part.
        Parameters:
        outer - Outer color of the marker.
        inner - Inner color of the marker.
        mode - Mode to use to fill the inner part of the marker.
        Returns:
        An image representing a marker.
      • readMarkerMask

        private static int[][] readMarkerMask()
        Returns:
        Retrieve the mask from the mask file or from the cache.