Class ScaleAwareImageWrapperIcon

java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.ScaleAwareImageWrapperIcon
All Implemented Interfaces:
Icon, UIResource, RadianceIcon

public class ScaleAwareImageWrapperIcon extends Object implements RadianceIcon, UIResource
A UIResource variant of the resizable high-DPI aware implementation of the core Icon interface that maintains crisp pixel-perfect appearance of icons across the entire app.
  • Field Details

    • scale

      private final double scale
    • imageSource

      private BufferedImage imageSource
    • width

      private int width
    • height

      private int height
  • Constructor Details

    • ScaleAwareImageWrapperIcon

      public ScaleAwareImageWrapperIcon(BufferedImage image, double scale)
  • Method Details