Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.ext.awt.image.rendered
Class ColorMatrixRed  view ColorMatrixRed download ColorMatrixRed.java

java.lang.Object
  extended byorg.apache.batik.ext.awt.image.rendered.AbstractRed
      extended byorg.apache.batik.ext.awt.image.rendered.ColorMatrixRed
All Implemented Interfaces:
CachableRed, java.awt.image.RenderedImage

public class ColorMatrixRed
extends AbstractRed

Version:
$Id: ColorMatrixRed.java,v 1.7 2004/08/18 07:14:08 vhardy Exp $

Field Summary
private  float[][] matrix
          Matrix to apply to color components
 
Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
 
Constructor Summary
ColorMatrixRed(CachableRed src, float[][] matrix)
           
 
Method Summary
 java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
           
private  float[][] copyMatrix(float[][] m)
           
 float[][] getMatrix()
           
 void setMatrix(float[][] matrix)
           
 
Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matrix

private float[][] matrix
Matrix to apply to color components

Constructor Detail

ColorMatrixRed

public ColorMatrixRed(CachableRed src,
                      float[][] matrix)
Method Detail

getMatrix

public float[][] getMatrix()

setMatrix

public void setMatrix(float[][] matrix)

copyMatrix

private float[][] copyMatrix(float[][] m)

copyData

public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)