org.apache.batik.ext.awt.image.renderable

Interface FilterColorInterpolation

public interface FilterColorInterpolation extends Filter

This is an extension of our Filter interface that adds support for a color-interpolation specification which indicates what colorspace the operation should take place in.
Method Summary
ColorSpacegetOperationColorSpace()
Returns the ColorSpace that the object will perform it's work in.
booleanisColorSpaceLinear()
Returns true if this operation is to be performed in the linear sRGB colorspace, returns false if the operation is performed in gamma corrected sRGB.
voidsetColorSpaceLinear(boolean csLinear)
Sets the colorspace the operation will be performed in.

Method Detail

getOperationColorSpace

public ColorSpace getOperationColorSpace()
Returns the ColorSpace that the object will perform it's work in.

isColorSpaceLinear

public boolean isColorSpaceLinear()
Returns true if this operation is to be performed in the linear sRGB colorspace, returns false if the operation is performed in gamma corrected sRGB.

setColorSpaceLinear

public void setColorSpaceLinear(boolean csLinear)
Sets the colorspace the operation will be performed in.

Parameters: csLinear if true this operation will be performed in the linear sRGB colorspace, if false the operation will be performed in gamma corrected sRGB.

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.