| Modifier and Type | Field and Description |
|---|---|
| private float |
| Access | Constructor and Description |
|---|---|
| public | SepiaTone()
Constructs a new |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Effect | |
| public float | Returns: the level valueReturns the level value, which controls the intensity of the sepia effect. |
| public RenderState | getRenderState(FilterContext
the context object that would be used by the Renderer
if this call is preparing for a render operation, or null fctx, BaseTransform the transform for the output of this operation transform, Rectangle the clip rectangle that may restrict this operation, or null outputClip, Object the rendering helper object that can be used to shortcut
this operation under certain conditions, or null renderHelper, Effect the defaultInput)Effect to be used in place of any null inputsImplements abstract com. Returns the object representing the rendering strategy and state for the filter operation characterized by the specified arguments. |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public void | |
| public void | setLevel(float
the level value level)Sets the level value, which controls the intensity of the sepia effect. |
| level | back to summary |
|---|---|
| private float level | |
| SepiaTone | back to summary |
|---|---|
| public SepiaTone() Constructs a new
new SepiaTone(DefaultInput)
| |
| SepiaTone | back to summary |
|---|---|
| public SepiaTone(Effect input) Constructs a new
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getLevel | back to summary |
|---|---|
| public float getLevel() Returns the level value, which controls the intensity of the sepia effect.
| |
| getRenderState | back to summary |
|---|---|
| public RenderState getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput) Implements abstract com. Doc from com. Returns the object representing the rendering strategy and state for
the filter operation characterized by the specified arguments.
This call can also be used to get a state object for non-rendering
cases like querying the bounds of an operation in which case the
| |
| reducesOpaquePixels | back to summary |
|---|---|
| public boolean reducesOpaquePixels() Implements abstract com. Doc from com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. It is always safe to return true from this method, though the consequences may be that the caller chooses to not utilize a planned optimization.
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setLevel | back to summary |
|---|---|
| public void setLevel(float level) Sets the level value, which controls the intensity of the sepia effect.
Min: 0.0
Max: 1.0
Default: 1.0
Identity: 0.0
| |