Package io.github.humbleui.skija
Class ImageFilter
- java.lang.Object
-
- io.github.humbleui.skija.impl.Native
-
- io.github.humbleui.skija.impl.Managed
-
- io.github.humbleui.skija.impl.RefCnt
-
- io.github.humbleui.skija.ImageFilter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class ImageFilter extends RefCnt
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.humbleui.skija.impl.RefCnt
RefCnt._FinalizerHolder
-
Nested classes/interfaces inherited from class io.github.humbleui.skija.impl.Managed
Managed.CleanerThunk
-
-
Field Summary
-
Fields inherited from class io.github.humbleui.skija.impl.Managed
_cleanable
-
-
Constructor Summary
Constructors Constructor Description ImageFilter(long ptr)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long_nMakeArithmetic(float k1, float k2, float k3, float k4, boolean enforcePMColor, long bg, long fg, io.github.humbleui.types.IRect crop)static long_nMakeBlend(int blendMode, long bg, long fg, io.github.humbleui.types.IRect crop)static long_nMakeBlur(float sigmaX, float sigmaY, int tileMode, long input, io.github.humbleui.types.IRect crop)static long_nMakeColorFilter(long colorFilterPtr, long input, io.github.humbleui.types.IRect crop)static long_nMakeCompose(long outer, long inner)static long_nMakeDilate(float rx, float ry, long input, io.github.humbleui.types.IRect crop)static long_nMakeDisplacementMap(int xChan, int yChan, float scale, long displacement, long color, io.github.humbleui.types.IRect crop)static long_nMakeDistantLitDiffuse(float x, float y, float z, int lightColor, float surfaceScale, float kd, long input, io.github.humbleui.types.IRect crop)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)static long_nMakeDropShadow(float dx, float dy, float sigmaX, float sigmaY, int color, long input, io.github.humbleui.types.IRect crop)static long_nMakeDropShadowOnly(float dx, float dy, float sigmaX, float sigmaY, int color, long input, io.github.humbleui.types.IRect crop)static long_nMakeErode(float rx, float ry, long input, io.github.humbleui.types.IRect crop)static long_nMakeImage(long image, float l0, float t0, float r0, float b0, float l1, float t1, float r1, float b1, long samplingMode)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)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)static long_nMakeMatrixTransform(float[] matrix, long samplingMode, long input)static long_nMakeMerge(long[] filters, io.github.humbleui.types.IRect crop)static long_nMakeOffset(float dx, float dy, long input, io.github.humbleui.types.IRect crop)static long_nMakePicture(long picture, float l, float t, float r, float b)static long_nMakePointLitDiffuse(float x, float y, float z, int lightColor, float surfaceScale, float kd, long input, io.github.humbleui.types.IRect crop)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)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)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)static long_nMakeTile(float l0, float t0, float r0, float b0, float l1, float t1, float r1, float b1, long input)static ImageFiltermakeArithmetic(float k1, float k2, float k3, float k4, boolean enforcePMColor, ImageFilter bg, ImageFilter fg, io.github.humbleui.types.IRect crop)static ImageFiltermakeBlend(BlendMode blendMode, ImageFilter bg, ImageFilter fg, io.github.humbleui.types.IRect crop)static ImageFiltermakeBlur(float sigmaX, float sigmaY, FilterTileMode mode)static ImageFiltermakeBlur(float sigmaX, float sigmaY, FilterTileMode mode, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeColorFilter(ColorFilter f, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeCompose(ImageFilter outer, ImageFilter inner)static ImageFiltermakeDilate(float rx, float ry, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeDisplacementMap(ColorChannel x, ColorChannel y, float scale, ImageFilter displacement, ImageFilter color, io.github.humbleui.types.IRect crop)static ImageFiltermakeDistantLitDiffuse(float x, float y, float z, int lightColor, float surfaceScale, float kd, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeDistantLitSpecular(float x, float y, float z, int lightColor, float surfaceScale, float ks, float shininess, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeDropShadow(float dx, float dy, float sigmaX, float sigmaY, int color)static ImageFiltermakeDropShadow(float dx, float dy, float sigmaX, float sigmaY, int color, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeDropShadowOnly(float dx, float dy, float sigmaX, float sigmaY, int color)static ImageFiltermakeDropShadowOnly(float dx, float dy, float sigmaX, float sigmaY, int color, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeErode(float rx, float ry, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeImage(Image image)static ImageFiltermakeImage(Image image, io.github.humbleui.types.Rect src, io.github.humbleui.types.Rect dst, SamplingMode mode)static ImageFiltermakeMagnifier(io.github.humbleui.types.Rect r, float zoomAmount, float inset, SamplingMode mode, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeMatrixConvolution(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)static ImageFiltermakeMatrixTransform(Matrix33 matrix, SamplingMode mode, ImageFilter input)static ImageFiltermakeMerge(ImageFilter[] filters, io.github.humbleui.types.IRect crop)static ImageFiltermakeOffset(float dx, float dy, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakePointLitDiffuse(float x, float y, float z, int lightColor, float surfaceScale, float kd, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakePointLitSpecular(float x, float y, float z, int lightColor, float surfaceScale, float ks, float shininess, ImageFilter input, io.github.humbleui.types.IRect crop)static ImageFiltermakeSpotLitDiffuse(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)static ImageFiltermakeSpotLitSpecular(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)static ImageFiltermakeTile(io.github.humbleui.types.Rect src, io.github.humbleui.types.Rect dst, ImageFilter input)-
Methods inherited from class io.github.humbleui.skija.impl.RefCnt
_nGetFinalizer, _nGetRefCount, getRefCount, toString
-
Methods inherited from class io.github.humbleui.skija.impl.Managed
_nInvokeFinalizer, close, isClosed
-
Methods inherited from class io.github.humbleui.skija.impl.Native
_nativeEquals, equals, getPtr, hashCode
-
-
-
-
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)
-
makeBlend
public static ImageFilter makeBlend(BlendMode blendMode, ImageFilter bg, ImageFilter fg, io.github.humbleui.types.IRect crop)
-
makeBlur
public static ImageFilter makeBlur(float sigmaX, float sigmaY, FilterTileMode mode)
-
makeBlur
public static ImageFilter makeBlur(float sigmaX, float sigmaY, FilterTileMode mode, ImageFilter input, io.github.humbleui.types.IRect crop)
-
makeColorFilter
public static ImageFilter makeColorFilter(ColorFilter f, ImageFilter input, io.github.humbleui.types.IRect crop)
-
makeCompose
public static ImageFilter makeCompose(ImageFilter outer, ImageFilter inner)
-
makeDisplacementMap
public static ImageFilter makeDisplacementMap(ColorChannel x, ColorChannel y, float scale, ImageFilter displacement, ImageFilter color, 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)
-
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)
-
makeMatrixTransform
public static ImageFilter makeMatrixTransform(Matrix33 matrix, SamplingMode mode, ImageFilter input)
-
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)
-
-