|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.ext.awt.image.renderable.AbstractRable
org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable
org.apache.batik.ext.awt.image.renderable.ColorMatrixRable8Bit
public class ColorMatrixRable8Bit
Implements the interface expected from a color matrix operation
Field Summary |
---|
Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable |
---|
csLinear |
Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
---|
props, srcs, stamp |
Fields inherited from interface org.apache.batik.ext.awt.image.renderable.ColorMatrixRable |
---|
TYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA, TYPE_MATRIX, TYPE_SATURATE |
Fields inherited from interface java.awt.image.renderable.RenderableImage |
---|
HINTS_OBSERVED |
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractColorInterpolationRable |
---|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear |
Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable |
---|
createDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.FilterColorInterpolation |
---|
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear |
Methods inherited from interface org.apache.batik.ext.awt.image.renderable.Filter |
---|
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp |
Methods inherited from interface java.awt.image.renderable.RenderableImage |
---|
createDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamic |
Method Detail |
---|
public void setSource(Filter src)
setSource
in interface ColorMatrixRable
src
- image to offset.public Filter getSource()
getSource
in interface ColorMatrixRable
public int getType()
getType
in interface ColorMatrixRable
public float[][] getMatrix()
getMatrix
in interface ColorMatrixRable
public 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 RenderableImage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |