Class ColorFilter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ColorFilter
    extends RefCnt
    • Constructor Detail

      • ColorFilter

        @Internal
        public ColorFilter​(long ptr)
      • ColorFilter

        @Internal
        public ColorFilter​(long ptr,
                           boolean allowClose)
    • Method Detail

      • getLinearToSRGBGamma

        public static ColorFilter getLinearToSRGBGamma()
      • getSRGBToLinearGamma

        public static ColorFilter getSRGBToLinearGamma()
      • makeLighting

        public static ColorFilter makeLighting​(int colorMul,
                                               int colorAdd)
      • makeHighContrast

        public static ColorFilter makeHighContrast​(boolean grayscale,
                                                   InversionMode mode,
                                                   float contrast)
      • makeTable

        public static ColorFilter makeTable​(byte[] table)
      • makeTableARGB

        public static ColorFilter makeTableARGB​(byte[] a,
                                                byte[] r,
                                                byte[] g,
                                                byte[] b)
      • makeOverdraw

        public static ColorFilter makeOverdraw​(int[] colors)
      • _nMakeComposed

        public static long _nMakeComposed​(long outer,
                                          long inner)
      • _nMakeBlend

        public static long _nMakeBlend​(int color,
                                       int blendMode)
      • _nMakeMatrix

        public static long _nMakeMatrix​(float[] rowMajor)
      • _nMakeHSLAMatrix

        public static long _nMakeHSLAMatrix​(float[] rowMajor)
      • _nGetLinearToSRGBGamma

        public static long _nGetLinearToSRGBGamma()
      • _nGetSRGBToLinearGamma

        public static long _nGetSRGBToLinearGamma()
      • _nMakeLerp

        public static long _nMakeLerp​(float t,
                                      long dstPtr,
                                      long srcPtr)
      • _nMakeLighting

        public static long _nMakeLighting​(int colorMul,
                                          int colorAdd)
      • _nMakeHighContrast

        public static long _nMakeHighContrast​(boolean grayscale,
                                              int inversionMode,
                                              float contrast)
      • _nMakeTable

        public static long _nMakeTable​(byte[] table)
      • _nMakeTableARGB

        public static long _nMakeTableARGB​(byte[] a,
                                           byte[] r,
                                           byte[] g,
                                           byte[] b)
      • _nMakeOverdraw

        public static long _nMakeOverdraw​(int c0,
                                          int c1,
                                          int c2,
                                          int c3,
                                          int c4,
                                          int c5)
      • _nGetLuma

        public static long _nGetLuma()