Class ImageFilter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class ImageFilter
    extends RefCnt
    • Constructor Detail

      • ImageFilter

        @Internal
        public ImageFilter​(long ptr)
    • Method Detail

      • makeArithmetic

        public static ImageFilter makeArithmetic​(float k1,
                                                 float k2,
                                                 float k3,
                                                 float k4,
                                                 boolean enforcePMColor,
                                                 ImageFilter bg,
                                                 ImageFilter fg,
                                                 io.github.humbleui.types.IRect crop)
      • makeDropShadow

        public static ImageFilter makeDropShadow​(float dx,
                                                 float dy,
                                                 float sigmaX,
                                                 float sigmaY,
                                                 int color)
      • makeDropShadow

        public static ImageFilter makeDropShadow​(float dx,
                                                 float dy,
                                                 float sigmaX,
                                                 float sigmaY,
                                                 int color,
                                                 ImageFilter input,
                                                 io.github.humbleui.types.IRect crop)
      • makeDropShadowOnly

        public static ImageFilter makeDropShadowOnly​(float dx,
                                                     float dy,
                                                     float sigmaX,
                                                     float sigmaY,
                                                     int color)
      • makeDropShadowOnly

        public static ImageFilter makeDropShadowOnly​(float dx,
                                                     float dy,
                                                     float sigmaX,
                                                     float sigmaY,
                                                     int color,
                                                     ImageFilter input,
                                                     io.github.humbleui.types.IRect crop)
      • makeImage

        public static ImageFilter makeImage​(Image image,
                                            io.github.humbleui.types.Rect src,
                                            io.github.humbleui.types.Rect dst,
                                            SamplingMode mode)
      • makeMagnifier

        public static ImageFilter makeMagnifier​(io.github.humbleui.types.Rect r,
                                                float zoomAmount,
                                                float inset,
                                                SamplingMode mode,
                                                ImageFilter input,
                                                io.github.humbleui.types.IRect crop)
      • makeMatrixConvolution

        public static ImageFilter makeMatrixConvolution​(int kernelW,
                                                        int kernelH,
                                                        float[] kernel,
                                                        float gain,
                                                        float bias,
                                                        int offsetX,
                                                        int offsetY,
                                                        FilterTileMode tileMode,
                                                        boolean convolveAlpha,
                                                        ImageFilter input,
                                                        io.github.humbleui.types.IRect crop)
      • makeMerge

        public static ImageFilter makeMerge​(ImageFilter[] filters,
                                            io.github.humbleui.types.IRect crop)
      • makeOffset

        public static ImageFilter makeOffset​(float dx,
                                             float dy,
                                             ImageFilter input,
                                             io.github.humbleui.types.IRect crop)
      • makeTile

        public static ImageFilter makeTile​(io.github.humbleui.types.Rect src,
                                           io.github.humbleui.types.Rect dst,
                                           ImageFilter input)
      • makeDilate

        public static ImageFilter makeDilate​(float rx,
                                             float ry,
                                             ImageFilter input,
                                             io.github.humbleui.types.IRect crop)
      • makeErode

        public static ImageFilter makeErode​(float rx,
                                            float ry,
                                            ImageFilter input,
                                            io.github.humbleui.types.IRect crop)
      • makeDistantLitDiffuse

        public static ImageFilter makeDistantLitDiffuse​(float x,
                                                        float y,
                                                        float z,
                                                        int lightColor,
                                                        float surfaceScale,
                                                        float kd,
                                                        ImageFilter input,
                                                        io.github.humbleui.types.IRect crop)
      • makePointLitDiffuse

        public static ImageFilter makePointLitDiffuse​(float x,
                                                      float y,
                                                      float z,
                                                      int lightColor,
                                                      float surfaceScale,
                                                      float kd,
                                                      ImageFilter input,
                                                      io.github.humbleui.types.IRect crop)
      • makeSpotLitDiffuse

        public static ImageFilter makeSpotLitDiffuse​(float x0,
                                                     float y0,
                                                     float z0,
                                                     float x1,
                                                     float y1,
                                                     float z1,
                                                     float falloffExponent,
                                                     float cutoffAngle,
                                                     int lightColor,
                                                     float surfaceScale,
                                                     float kd,
                                                     ImageFilter input,
                                                     io.github.humbleui.types.IRect crop)
      • makeDistantLitSpecular

        public static ImageFilter makeDistantLitSpecular​(float x,
                                                         float y,
                                                         float z,
                                                         int lightColor,
                                                         float surfaceScale,
                                                         float ks,
                                                         float shininess,
                                                         ImageFilter input,
                                                         io.github.humbleui.types.IRect crop)
      • makePointLitSpecular

        public static ImageFilter makePointLitSpecular​(float x,
                                                       float y,
                                                       float z,
                                                       int lightColor,
                                                       float surfaceScale,
                                                       float ks,
                                                       float shininess,
                                                       ImageFilter input,
                                                       io.github.humbleui.types.IRect crop)
      • makeSpotLitSpecular

        public static ImageFilter makeSpotLitSpecular​(float x0,
                                                      float y0,
                                                      float z0,
                                                      float x1,
                                                      float y1,
                                                      float z1,
                                                      float falloffExponent,
                                                      float cutoffAngle,
                                                      int lightColor,
                                                      float surfaceScale,
                                                      float ks,
                                                      float shininess,
                                                      ImageFilter input,
                                                      io.github.humbleui.types.IRect crop)
      • _nMakeArithmetic

        public static long _nMakeArithmetic​(float k1,
                                            float k2,
                                            float k3,
                                            float k4,
                                            boolean enforcePMColor,
                                            long bg,
                                            long fg,
                                            io.github.humbleui.types.IRect crop)
      • _nMakeBlend

        public static long _nMakeBlend​(int blendMode,
                                       long bg,
                                       long fg,
                                       io.github.humbleui.types.IRect crop)
      • _nMakeBlur

        public static long _nMakeBlur​(float sigmaX,
                                      float sigmaY,
                                      int tileMode,
                                      long input,
                                      io.github.humbleui.types.IRect crop)
      • _nMakeColorFilter

        public static long _nMakeColorFilter​(long colorFilterPtr,
                                             long input,
                                             io.github.humbleui.types.IRect crop)
      • _nMakeCompose

        public static long _nMakeCompose​(long outer,
                                         long inner)
      • _nMakeDisplacementMap

        public static long _nMakeDisplacementMap​(int xChan,
                                                 int yChan,
                                                 float scale,
                                                 long displacement,
                                                 long color,
                                                 io.github.humbleui.types.IRect crop)
      • _nMakeDropShadow

        public static long _nMakeDropShadow​(float dx,
                                            float dy,
                                            float sigmaX,
                                            float sigmaY,
                                            int color,
                                            long input,
                                            io.github.humbleui.types.IRect crop)
      • _nMakeDropShadowOnly

        public static long _nMakeDropShadowOnly​(float dx,
                                                float dy,
                                                float sigmaX,
                                                float sigmaY,
                                                int color,
                                                long input,
                                                io.github.humbleui.types.IRect crop)
      • _nMakeImage

        public static long _nMakeImage​(long image,
                                       float l0,
                                       float t0,
                                       float r0,
                                       float b0,
                                       float l1,
                                       float t1,
                                       float r1,
                                       float b1,
                                       long samplingMode)
      • _nMakeMagnifier

        public static long _nMakeMagnifier​(float l,
                                           float t,
                                           float r,
                                           float b,
                                           float zoomAmount,
                                           float inset,
                                           long samplingMode,
                                           long input,
                                           io.github.humbleui.types.IRect crop)
      • _nMakeMatrixConvolution

        public static long _nMakeMatrixConvolution​(int kernelW,
                                                   int kernelH,
                                                   float[] kernel,
                                                   float gain,
                                                   float bias,
                                                   int offsetX,
                                                   int offsetY,
                                                   int tileMode,
                                                   boolean convolveAlpha,
                                                   long input,
                                                   io.github.humbleui.types.IRect crop)
      • _nMakeMatrixTransform

        public static long _nMakeMatrixTransform​(float[] matrix,
                                                 long samplingMode,
                                                 long input)
      • _nMakeMerge

        public static long _nMakeMerge​(long[] filters,
                                       io.github.humbleui.types.IRect crop)
      • _nMakeOffset

        public static long _nMakeOffset​(float dx,
                                        float dy,
                                        long input,
                                        io.github.humbleui.types.IRect crop)
      • _nMakePicture

        public static long _nMakePicture​(long picture,
                                         float l,
                                         float t,
                                         float r,
                                         float b)
      • _nMakeTile

        public static long _nMakeTile​(float l0,
                                      float t0,
                                      float r0,
                                      float b0,
                                      float l1,
                                      float t1,
                                      float r1,
                                      float b1,
                                      long input)
      • _nMakeDilate

        public static long _nMakeDilate​(float rx,
                                        float ry,
                                        long input,
                                        io.github.humbleui.types.IRect crop)
      • _nMakeErode

        public static long _nMakeErode​(float rx,
                                       float ry,
                                       long input,
                                       io.github.humbleui.types.IRect crop)
      • _nMakeDistantLitDiffuse

        public static long _nMakeDistantLitDiffuse​(float x,
                                                   float y,
                                                   float z,
                                                   int lightColor,
                                                   float surfaceScale,
                                                   float kd,
                                                   long input,
                                                   io.github.humbleui.types.IRect crop)
      • _nMakePointLitDiffuse

        public static long _nMakePointLitDiffuse​(float x,
                                                 float y,
                                                 float z,
                                                 int lightColor,
                                                 float surfaceScale,
                                                 float kd,
                                                 long input,
                                                 io.github.humbleui.types.IRect crop)
      • _nMakeSpotLitDiffuse

        public static long _nMakeSpotLitDiffuse​(float x0,
                                                float y0,
                                                float z0,
                                                float x1,
                                                float y1,
                                                float z1,
                                                float falloffExponent,
                                                float cutoffAngle,
                                                int lightColor,
                                                float surfaceScale,
                                                float kd,
                                                long input,
                                                io.github.humbleui.types.IRect crop)
      • _nMakeDistantLitSpecular

        public static long _nMakeDistantLitSpecular​(float x,
                                                    float y,
                                                    float z,
                                                    int lightColor,
                                                    float surfaceScale,
                                                    float ks,
                                                    float shininess,
                                                    long input,
                                                    io.github.humbleui.types.IRect crop)
      • _nMakePointLitSpecular

        public static long _nMakePointLitSpecular​(float x,
                                                  float y,
                                                  float z,
                                                  int lightColor,
                                                  float surfaceScale,
                                                  float ks,
                                                  float shininess,
                                                  long input,
                                                  io.github.humbleui.types.IRect crop)
      • _nMakeSpotLitSpecular

        public static long _nMakeSpotLitSpecular​(float x0,
                                                 float y0,
                                                 float z0,
                                                 float x1,
                                                 float y1,
                                                 float z1,
                                                 float falloffExponent,
                                                 float cutoffAngle,
                                                 int lightColor,
                                                 float surfaceScale,
                                                 float ks,
                                                 float shininess,
                                                 long input,
                                                 io.github.humbleui.types.IRect crop)