public final class ColorMatrixRable8Bit extends AbstractColorInterpolationRable implements ColorMatrixRable
csLinearprops, srcs, stampTYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA, TYPE_MATRIX, TYPE_SATURATEHINTS_OBSERVED| Modifier and Type | Method and Description |
|---|---|
static ColorMatrixRable |
buildHueRotate(float a)
Builds a TYPE_HUE_ROTATE instance.
|
static ColorMatrixRable |
buildLuminanceToAlpha()
Builds a TYPE_LUMINANCE_TO_ALPHA instance
|
static ColorMatrixRable |
buildMatrix(float[][] matrix)
Builds a TYPE_MATRIX instance
|
static ColorMatrixRable |
buildSaturate(float s)
Builds a TYPE_SATURATE instance
|
RenderedImage |
createRendering(RenderContext rc) |
float[][] |
getMatrix()
Returns the rows of the color matrix.
|
Filter |
getSource()
Returns the source of the blur operation
|
int |
getType()
Returns the type of this color matrix.
|
void |
setSource(Filter src)
Sets the source of the blur operation
|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearcreateDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLineargetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicpublic void setSource(Filter src)
setSource in interface ColorMatrixRablesrc - image to offset.public Filter getSource()
getSource in interface ColorMatrixRablepublic int getType()
getType in interface ColorMatrixRablepublic float[][] getMatrix()
getMatrix in interface ColorMatrixRablepublic static ColorMatrixRable buildMatrix(float[][] matrix)
public static ColorMatrixRable buildSaturate(float s)
public static ColorMatrixRable buildHueRotate(float a)
a - angle, in radianpublic static ColorMatrixRable buildLuminanceToAlpha()
public RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImageCopyright © 2000–2020 Apache Software Foundation. All rights reserved.