org.apache.batik.ext.awt.image.renderable
public class ColorMatrixRable8Bit extends AbstractColorInterpolationRable implements ColorMatrixRable
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 |
Parameters: a angle, in radian
Returns: one of TYPE_MATRIX, TYPE_SATURATE, TYPE_HUE_ROTATE, TYPE_LUMINANCE_TO_ALPHA