org.apache.batik.ext.awt.image.renderable
public abstract class AbstractColorInterpolationRable extends AbstractRable
Field Summary | |
---|---|
protected boolean | csLinear
Indicates if the operation should be done in linear or gamma
corrected sRGB. |
Constructor Summary | |
---|---|
protected | AbstractColorInterpolationRable()
void constructor. |
protected | AbstractColorInterpolationRable(Filter src)
Construct an Abstract Rable from src. |
protected | AbstractColorInterpolationRable(Filter src, Map props)
Construct an Abstract Rable from src and props. |
protected | AbstractColorInterpolationRable(List srcs)
Construct an Abstract Rable from a list of sources. |
protected | AbstractColorInterpolationRable(List srcs, Map props)
Construct an Abstract Rable from a list of sources, and bounds. |
Method Summary | |
---|---|
protected CachableRed | convertSourceCS(CachableRed cr) |
protected CachableRed | convertSourceCS(RenderedImage ri) |
ColorSpace | getOperationColorSpace() |
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. |
void | setColorSpaceLinear(boolean csLinear)
Sets the colorspace the operation will be performed in. |
Parameters: src will be the first (and only) member of the srcs Vector. The bounds of src are also used to set the bounds of this renderable.
Parameters: src will also be set as the first (and only) member of the srcs Vector. props use to initialize the properties on this renderable image.
Parameters: srcs This is used to initialize the srcs Vector. The bounds of this renderable will be the union of the bounds of all the sources in srcs. All the members of srcs must be CachableRable otherwise an error will be thrown.
Parameters: srcs This is used to initialize the srcs Vector. All the members of srcs must be CachableRable otherwise an error will be thrown. props use to initialize the properties on this renderable image.
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.