Class MacroIcon


  • public class MacroIcon
    extends Object
    • Constructor Detail

      • MacroIcon

        public MacroIcon​(String location,
                         boolean relative)
      • MacroIcon

        public MacroIcon​(String location,
                         boolean relative,
                         int height,
                         int width)
    • Method Detail

      • getLocation

        public String getLocation()
      • isRelative

        public boolean isRelative()
        Whether or not the location of this icon should be taken as a relative path.
        Returns:
        true if the location is relative to the image base directory
      • getHeight

        public int getHeight()
        Returns:
        the height of the icon in pixels
      • getWidth

        public int getWidth()
        Returns:
        the width of the icon in pixels