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 |
csLinear
props, srcs, stamp
Constructor and Description |
---|
ComponentTransferRable8Bit(Filter src,
ComponentTransferFunction alphaFunction,
ComponentTransferFunction redFunction,
ComponentTransferFunction greenFunction,
ComponentTransferFunction blueFunction) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.RenderedImage |
createRendering(java.awt.image.renderable.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, setColorSpaceLinear
createDefaultRendering, createScaledRendering, getBounds2D, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getProperty, getPropertyNames, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperationColorSpace, isColorSpaceLinear, setColorSpaceLinear
getBounds2D, getDependencyRegion, getDirtyRegion, getTimeStamp
public 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 ComponentTransferRable
src
- image to offset.public Filter getSource()
getSource
in interface ComponentTransferRable
public ComponentTransferFunction getAlphaFunction()
getAlphaFunction
in interface ComponentTransferRable
public void setAlphaFunction(ComponentTransferFunction alphaFunction)
setAlphaFunction
in interface ComponentTransferRable
public ComponentTransferFunction getRedFunction()
getRedFunction
in interface ComponentTransferRable
public void setRedFunction(ComponentTransferFunction redFunction)
setRedFunction
in interface ComponentTransferRable
public ComponentTransferFunction getGreenFunction()
getGreenFunction
in interface ComponentTransferRable
public void setGreenFunction(ComponentTransferFunction greenFunction)
setGreenFunction
in interface ComponentTransferRable
public ComponentTransferFunction getBlueFunction()
getBlueFunction
in interface ComponentTransferRable
public void setBlueFunction(ComponentTransferFunction blueFunction)
setBlueFunction
in interface ComponentTransferRable
public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
createRendering
in interface java.awt.image.renderable.RenderableImage
Copyright © 2022 Apache Software Foundation. All Rights Reserved.