de.caff.vic

## Interface RecolorableIcon

- All Superinterfaces:
    javax.swing.Icon
  All Known Implementing Classes:
    DynamicallyScaledIcon, ScaledIcon

      public interface RecolorableIcon
      extends javax.swing.Icon

  Interface for icons which can be recolored.
  Since:
    November 01, 2017
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `RecolorableIcon` | `getRecoloredIcon(Function1<java.awt.Color,java.awt.Color> recolorer)` Get a recolored version of this icon.

    - ### Methods inherited from interface javax.swing.Icon

      `getIconHeight, getIconWidth, paintIcon`

- - ### Method Detail

    - #### getRecoloredIcon

          @NotNull
          RecolorableIcon getRecoloredIcon(@NotNull
                                                    Function1<java.awt.Color,java.awt.Color> recolorer)

      Get a recolored version of this icon.
      Parameters:
        `recolorer` - recolor function which maps old colors into new colors
      Returns:
        recolored version of this icon