java.awt.image.renderable.RenderableImage, ColorMatrixRable, Filter, FilterColorInterpolationpublic final class ColorMatrixRable8Bit extends AbstractColorInterpolationRable implements ColorMatrixRable
csLinearprops, srcs, stampTYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA, TYPE_MATRIX, TYPE_SATURATE| Modifier and Type | Method | 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
|
java.awt.image.RenderedImage |
createRendering(java.awt.image.renderable.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, touchgetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearpublic 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 java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
createRendering in interface java.awt.image.renderable.RenderableImageCopyright ? 2018 Apache Software Foundation. All Rights Reserved.