Interface ColorMatrixRable
- All Superinterfaces:
Filter
,FilterColorInterpolation
,RenderableImage
- All Known Implementing Classes:
ColorMatrixRable8Bit
Defines the interface expected from a color matrix
operation
- Version:
- $Id: ColorMatrixRable.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
Identifier used to refer to predefined matricesstatic final int
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
-
Method Summary
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.FilterColorInterpolation
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear
Methods inherited from interface java.awt.image.renderable.RenderableImage
createDefaultRendering, createRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic
-
Field Details
-
TYPE_MATRIX
static final int TYPE_MATRIXIdentifier used to refer to predefined matrices- See Also:
-
TYPE_SATURATE
static final int TYPE_SATURATE- See Also:
-
TYPE_HUE_ROTATE
static final int TYPE_HUE_ROTATE- See Also:
-
TYPE_LUMINANCE_TO_ALPHA
static final int TYPE_LUMINANCE_TO_ALPHA- See Also:
-
-
Method Details
-
getSource
Filter getSource()Returns the source to be offset. -
setSource
Sets the source to be offset.- Parameters:
src
- image to offset.
-
getType
int getType()Returns the type of this color matrix.- Returns:
- one of TYPE_MATRIX, TYPE_SATURATE, TYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA
-
getMatrix
float[][] getMatrix()Returns the rows of the color matrix. This uses the same convention as BandCombineOp.
-