Class FeColorMatrix.NoAlphaMatrixRGBFilter
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.NoAlphaMatrixRGBFilter
- All Implemented Interfaces:
ImageConsumer
,Cloneable
- Enclosing class:
FeColorMatrix
private static final class FeColorMatrix.NoAlphaMatrixRGBFilter
extends FeColorMatrix.AffineRGBImageFilter
-
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
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
ConstructorsModifierConstructorDescriptionprivate
NoAlphaMatrixRGBFilter
(double r1, double r2, double r3, double g1, double g2, double g3, double b1, double b2, double b3) -
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 -
g1
private final double g1 -
g2
private final double g2 -
g3
private final double g3 -
b1
private final double b1 -
b2
private final double b2 -
b3
private final double b3
-
-
Constructor Details
-
NoAlphaMatrixRGBFilter
private NoAlphaMatrixRGBFilter(double r1, double r2, double r3, double g1, double g2, double g3, double b1, double b2, double b3)
-
-
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
-