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 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
ConstructorsModifierConstructorDescriptionprivateNoAlphaMatrixRGBFilter(double r1, double r2, double r3, double g1, double g2, double g3, double b1, double b2, double b3) -
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 -
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:
isLinearin classFeColorMatrix.AffineRGBImageFilter
-
filterRGB
public int filterRGB(int x, int y, int rgb) - Specified by:
filterRGBin classRGBImageFilter
-