Package editor.util

Class SystemColorFilter

  • All Implemented Interfaces:
    ImageConsumer, Cloneable

    public class SystemColorFilter
    extends RGBImageFilter
    An image filter that replaces occurrences of default System Colors to current System Color settings. Following are default ISC.S_STANDARD System Colors:
    • standard surface = rgb(192,192,192)
    • standard shadow = rgb(128,128,128)
    • standard highlight = rgb(255,255,255) to current System Color settings.

    For a fast, easy way to create a new System Color image use the Utility.createSystemColorImage utility method.

    • Constructor Detail

      • SystemColorFilter

        public SystemColorFilter()
      • SystemColorFilter

        public SystemColorFilter​(Color clrFace,
                                 Color clrHighlight,
                                 Color clrShadow,
                                 float fFudgeFactor)
        Parameters:
        clrFace -
        clrHighlight -
        clrShadow -
        fFudgeFactor -
    • Method Detail

      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        Specified by:
        filterRGB in class RGBImageFilter
        Parameters:
        x -
        y -
        rgb -
        Returns: