Class ReflectedIcon

All Implemented Interfaces:
Serializable, Accessible, Icon, FileBasedIcon

public class ReflectedIcon extends DerivedImageIcon
LazyImageIcon that creates a reflected version of an icon. This creates a version of the icon which has had either its x values reflected (left to right) or its y values reflected (upside down)
See Also:
  • Constructor Details

    • ReflectedIcon

      public ReflectedIcon(Icon baseIcon, boolean leftToRight)
      Construct a icon that is reflected either left to right or upside down.
      Parameters:
      baseIcon - base icon
      leftToRight - true flips x values, false flips y values
  • Method Details