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 doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final doubleFields inherited from class RGBImageFilter
canFilterIndexColorModel, newmodel, origmodelFields inherited from class ImageFilter
consumerFields inherited from interface ImageConsumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ColorSpaceAwareRGBImageFilter
getRGB, pack, setConvertToLinearMethods inherited from class RGBImageFilter
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelMethods inherited from class 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:
isLinearin classFeColorMatrix.AffineRGBImageFilter
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGBin classRGBImageFilter
-