Class SquareIcon

  • All Implemented Interfaces:
    Icon

    public class SquareIcon
    extends Object
    implements Icon
    Deprecated.
    2D piccolo based code is being removed
    A square-shaped icon for use on buttons like color pickers.
    • Constructor Detail

      • SquareIcon

        public SquareIcon​(Color color)
        Deprecated.
      • SquareIcon

        public SquareIcon​(Color color,
                          int dimension)
        Deprecated.
    • Method Detail

      • getColor

        public Color getColor()
        Deprecated.
      • getIconHeight

        public int getIconHeight()
        Deprecated.
        Specified by:
        getIconHeight in interface Icon
      • getIconWidth

        public int getIconWidth()
        Deprecated.
        Specified by:
        getIconWidth in interface Icon