| Modifier and Type | Field and Description |
|---|---|
| private GaussianShadowState |
| Access | Constructor and Description |
|---|---|
| public | GaussianShadow()
Constructs a new |
| public | GaussianShadow(float
the radius of the Gaussian kernel radius)Constructs a new |
| public | GaussianShadow(float
the radius of the Gaussian kernel radius, Color4f the shadow color)Color4fConstructs a new |
| public | GaussianShadow(float
the radius of the Gaussian kernel radius, Color4f the shadow color, Effect Color4fthe single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Effect. | getAccelType(FilterContext fctx)
Overrides com. Returns one of the |
| public BaseBounds | getBounds(BaseTransform transform, Effect defaultInput)
Overrides com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified |
| public Color4f | Returns: the shadow colorImplements abstract com. Returns the shadow color. |
| public DirtyRegionContainer | getDirtyRegions(Effect defaultInput, DirtyRegionPool regionPool)
Overrides com. Returns the dirty region container containing dirty regions affected by this filter operation. |
| public float | |
| public float | |
| public float | |
| public float | Returns: the horizontal radius of the Gaussian kernelReturns the horizontal radius of the Gaussian kernel. |
| public final Effect | Returns: the input for thisEffectImplements abstract com. Returns the input for this |
| public AbstractShadow. | |
| public float | |
| public Rectangle | getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas)
Overrides com.
|
| public float | Returns: the spread of the shadow effectImplements abstract com. Gets the spread of the shadow effect. |
| pack-priv LinearConvolveKernel | getState()
Implements abstract com. Returns state object that is associated with this effect instance. |
| public float | Returns: the vertical radius of the Gaussian kernelReturns the vertical radius of the Gaussian kernel. |
| public AbstractShadow | implFor(AbstractShadow.
Implements abstract com.
|
| 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 | setColor(Color4f
the shadow color color)Implements abstract com. Sets the shadow color. |
| public void | setGaussianHeight(float h)
Implements abstract com.
|
| public void | setGaussianRadius(float r)
Implements abstract com.
|
| public void | setGaussianWidth(float w)
Implements abstract com.
|
| public void | setHRadius(float
the horizontal radius of the Gaussian kernel hradius)Sets the horizontal radius of the Gaussian kernel. |
| public void | setInput(Effect
the input for this input)EffectImplements abstract com. Sets the input for this |
| public void | |
| public void | setSpread(float
the spread of the shadow effect spread)Implements abstract com. Sets the spread of the shadow effect. |
| public void | setVRadius(float
the vertical radius of the Gaussian kernel vradius)Sets the vertical radius of the Gaussian kernel. |
| state | back to summary |
|---|---|
| private GaussianShadowState state | |
| GaussianShadow | back to summary |
|---|---|
| public GaussianShadow() Constructs a new
new GaussianShadow(10f, Color4f.BLACK, DefaultInput)
| |
| GaussianShadow | back to summary |
|---|---|
| public GaussianShadow(float radius) Constructs a new
new GaussianShadow(radius, Color4f.BLACK, DefaultInput)
| |
| GaussianShadow | back to summary |
|---|---|
| public GaussianShadow(float radius, Color4f color) Constructs a new
new GaussianShadow(radius, color, DefaultInput)
| |
| GaussianShadow | back to summary |
|---|---|
| public GaussianShadow(float radius, Color4f color, Effect input) Constructs a new
| |
| getAccelType | back to summary |
|---|---|
| public Effect. Overrides com. Doc from com. Returns one of the
| |
| getBounds | back to summary |
|---|---|
| public BaseBounds getBounds(BaseTransform transform, Effect defaultInput) Overrides com. Doc from com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified
| |
| getColor | back to summary |
|---|---|
| public Color4f getColor() Implements abstract com. Returns the shadow color. | |
| getDirtyRegions | back to summary |
|---|---|
| public DirtyRegionContainer getDirtyRegions(Effect defaultInput, DirtyRegionPool regionPool) Overrides com. Doc from com. Returns the dirty region container containing dirty regions affected by this filter operation.
| |
| getGaussianHeight | back to summary |
|---|---|
| public float getGaussianHeight() Implements abstract com.
| |
| getGaussianRadius | back to summary |
|---|---|
| public float getGaussianRadius() Implements abstract com.
| |
| getGaussianWidth | back to summary |
|---|---|
| public float getGaussianWidth() Implements abstract com.
| |
| getHRadius | back to summary |
|---|---|
| public float getHRadius() Returns the horizontal radius of the Gaussian kernel.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Implements abstract com. Returns the input for this | |
| getMode | back to summary |
|---|---|
| public AbstractShadow. Implements abstract com.
| |
| getRadius | back to summary |
|---|---|
| public float getRadius() Returns the radius of the Gaussian kernel.
| |
| getResultBounds | back to summary |
|---|---|
| public Rectangle getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas) Overrides com.
| |
| getSpread | back to summary |
|---|---|
| public float getSpread() Implements abstract com. Gets the spread of the shadow effect.
| |
| getState | back to summary |
|---|---|
| pack-priv LinearConvolveKernel getState() Implements abstract com. Doc from com. Returns state object that is associated with this effect instance. Subclasses may override this method to return some sort of state object that contains implementation details that are hidden from the public API. Classes outside this package can use the AccessHelper class to get access to this package-private method.
| |
| getVRadius | back to summary |
|---|---|
| public float getVRadius() Returns the vertical radius of the Gaussian kernel.
| |
| implFor | back to summary |
|---|---|
| public AbstractShadow implFor(AbstractShadow. Implements abstract com.
| |
| 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.
| |
| setColor | back to summary |
|---|---|
| public void setColor(Color4f color) Implements abstract com. Sets the shadow color.
Min: n/a
Max: n/a
Default: Color4f.BLACK
Identity: n/a
| |
| setGaussianHeight | back to summary |
|---|---|
| public void setGaussianHeight(float h) Implements abstract com.
| |
| setGaussianRadius | back to summary |
|---|---|
| public void setGaussianRadius(float r) Implements abstract com.
| |
| setGaussianWidth | back to summary |
|---|---|
| public void setGaussianWidth(float w) Implements abstract com.
| |
| setHRadius | back to summary |
|---|---|
| public void setHRadius(float hradius) Sets the horizontal radius of the Gaussian kernel.
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Implements abstract com. Sets the input for this | |
| setRadius | back to summary |
|---|---|
| public void setRadius(float radius) Sets the radius of the Gaussian kernel.
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |
| setSpread | back to summary |
|---|---|
| public void setSpread(float spread) Implements abstract com. Sets the spread of the shadow effect.
The spread is the portion of the radius where the contribution of
the source material will be 100%.
The remaining portion of the radius will have a contribution
controlled by the Gaussian kernel.
A spread of
Min: 0.0
Max: 1.0
Default: 0.0
Identity: 0.0
| |
| setVRadius | back to summary |
|---|---|
| public void setVRadius(float vradius) Sets the vertical radius of the Gaussian kernel.
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |