Class FeatureTilePointIcon


  • public class FeatureTilePointIcon
    extends Object
    Point icon in place of a drawn circle
    Since:
    1.1.2
    Author:
    osbornb
    • Constructor Detail

      • FeatureTilePointIcon

        public FeatureTilePointIcon​(BufferedImage icon)
        Constructor
        Parameters:
        icon - icon image
      • FeatureTilePointIcon

        public FeatureTilePointIcon​(BufferedImage icon,
                                    int width,
                                    int height)
        Constructor
        Parameters:
        icon - icon image
        width - icon display width
        height - icon display height
        Since:
        3.2.0
    • Method Detail

      • pinIcon

        public void pinIcon()
        Pin the icon to the point, lower middle on the point
      • centerIcon

        public void centerIcon()
        Center the icon on the point
      • getIcon

        public BufferedImage getIcon()
        Get the icon
        Returns:
        image
      • getWidth

        public int getWidth()
        Get the width
        Returns:
        width
      • setWidth

        public void setWidth​(int width)
        Set the display width and adjust the x offset
        Parameters:
        width - icon display width
        Since:
        3.2.0
      • getHeight

        public int getHeight()
        Get the height
        Returns:
        height
      • setHeight

        public void setHeight​(int height)
        Set the display height and adjust the y offset
        Parameters:
        height - icon display height
        Since:
        3.2.0
      • getXOffset

        public float getXOffset()
        Get the x offset
        Returns:
        x offset
      • setXOffset

        public void setXOffset​(float xOffset)
        Set the x offset
        Parameters:
        xOffset - x offset
      • getYOffset

        public float getYOffset()
        Get the y offset
        Returns:
        y offset
      • setYOffset

        public void setYOffset​(float yOffset)
        Set the y offset
        Parameters:
        yOffset - y offset