Module com.github.weisj.jsvg
Class FeColorMatrix.MatrixRGBFilter
java.lang.Object
java.awt.image.ImageFilter
java.awt.image.RGBImageFilter
com.github.weisj.jsvg.util.ColorSpaceAwareRGBImageFilter
com.github.weisj.jsvg.nodes.filter.FeColorMatrix.AffineRGBImageFilter
com.github.weisj.jsvg.nodes.filter.FeColorMatrix.MatrixRGBFilter
- All Implemented Interfaces:
ImageConsumer
,Cloneable
- Enclosing class:
FeColorMatrix
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
private final double
Fields inherited from class java.awt.image.RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
Fields inherited from class java.awt.image.ImageFilter
consumer
Fields inherited from interface java.awt.image.ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.weisj.jsvg.util.ColorSpaceAwareRGBImageFilter
getRGB, pack, setConvertToLinear
Methods inherited from class java.awt.image.RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
Methods inherited from class java.awt.image.ImageFilter
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
-
Field Details
-
r1
private final double r1 -
r2
private final double r2 -
r3
private final double r3 -
r4
private final double r4 -
r5
private final double r5 -
g1
private final double g1 -
g2
private final double g2 -
g3
private final double g3 -
g4
private final double g4 -
g5
private final double g5 -
b1
private final double b1 -
b2
private final double b2 -
b3
private final double b3 -
b4
private final double b4 -
b5
private final double b5 -
a1
private final double a1 -
a2
private final double a2 -
a3
private final double a3 -
a4
private final double a4 -
a5
private final double a5
-
-
Constructor Details
-
MatrixRGBFilter
private MatrixRGBFilter(double[] values)
-
-
Method Details
-
isLinear
boolean isLinear()- Specified by:
isLinear
in classFeColorMatrix.AffineRGBImageFilter
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGB
in classRGBImageFilter
-