public class ComponentTransferRable8Bit extends AbstractColorInterpolationRable implements ComponentTransferRable
| Modifier and Type | Field and Description |
|---|---|
static int |
ALPHA |
static int |
BLUE |
static int |
GREEN |
static int |
RED |
csLinearprops, srcs, stampHINTS_OBSERVED| Constructor and Description |
|---|
ComponentTransferRable8Bit(Filter src,
ComponentTransferFunction alphaFunction,
ComponentTransferFunction redFunction,
ComponentTransferFunction greenFunction,
ComponentTransferFunction blueFunction) |
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
createRendering(RenderContext rc) |
ComponentTransferFunction |
getAlphaFunction()
Returns the transfer function for the alpha channel
|
ComponentTransferFunction |
getBlueFunction()
Returns the transfer function for the blue channel
|
ComponentTransferFunction |
getGreenFunction()
Returns the transfer function for the green channel
|
ComponentTransferFunction |
getRedFunction()
Returns the transfer function for the red channel
|
Filter |
getSource()
Returns the source of the blur operation
|
void |
setAlphaFunction(ComponentTransferFunction alphaFunction)
Sets the transfer function for the alpha channel
|
void |
setBlueFunction(ComponentTransferFunction blueFunction)
Sets the transfer function for the blue channel
|
void |
setGreenFunction(ComponentTransferFunction greenFunction)
Sets the transfer function for the green channel
|
void |
setRedFunction(ComponentTransferFunction redFunction)
Sets the transfer function for the red channel
|
void |
setSource(Filter src)
Sets the source of the blur operation
|
convertSourceCS, convertSourceCS, getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinearcreateDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationColorSpace, isColorSpaceLinear, setColorSpaceLineargetBounds2D, getDependencyRegion, getDirtyRegion, getTimeStampcreateDefaultRendering, createScaledRendering, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getWidth, isDynamicpublic static final int ALPHA
public static final int RED
public static final int GREEN
public static final int BLUE
public ComponentTransferRable8Bit(Filter src, ComponentTransferFunction alphaFunction, ComponentTransferFunction redFunction, ComponentTransferFunction greenFunction, ComponentTransferFunction blueFunction)
public void setSource(Filter src)
setSource in interface ComponentTransferRablesrc - image to offset.public Filter getSource()
getSource in interface ComponentTransferRablepublic ComponentTransferFunction getAlphaFunction()
getAlphaFunction in interface ComponentTransferRablepublic void setAlphaFunction(ComponentTransferFunction alphaFunction)
setAlphaFunction in interface ComponentTransferRablepublic ComponentTransferFunction getRedFunction()
getRedFunction in interface ComponentTransferRablepublic void setRedFunction(ComponentTransferFunction redFunction)
setRedFunction in interface ComponentTransferRablepublic ComponentTransferFunction getGreenFunction()
getGreenFunction in interface ComponentTransferRablepublic void setGreenFunction(ComponentTransferFunction greenFunction)
setGreenFunction in interface ComponentTransferRablepublic ComponentTransferFunction getBlueFunction()
getBlueFunction in interface ComponentTransferRablepublic void setBlueFunction(ComponentTransferFunction blueFunction)
setBlueFunction in interface ComponentTransferRablepublic RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImageCopyright © 2000–2020 Apache Software Foundation. All rights reserved.