com.sun.scenario.effect
public abstract Class AbstractShadow
extends LinearConvolveCoreEffect
- Class Inheritance
-
- Known Direct Subclasses
- com.sun.scenario.effect.BoxShadow, com.sun.scenario.effect.GaussianShadow
An implementation supertype for both Gaussian and Box filter based
shadows to facilitate their conditional usage inside the various
composite shadow effects like DropShadow and InnerShadow.
The radius, width and height parameters all refer to the corresponding
dimension that a "Gaussian" blur filter would use - other shadow
implementations will have to use whatever parameters produce a
similar effect.
The width and height parameters should relate to the radius parameter
by the equation w,h = 2 * r + 1 and if the width and height are
set to something different then the radius parameter will be an average
of the corresponding individual dimensional radius values.
Nested and Inner Type Summary
| Modifier and Type | Class and Description
|
|---|
| public static enum |
|
Constructor Summary
| Access | Constructor and Description
|
|---|
| public |
|
Method Detail
| setGaussianHeight | back to summary
|
|---|
| public abstract void setGaussianHeight(float h)
|
| setGaussianRadius | back to summary
|
|---|
| public abstract void setGaussianRadius(float r)
|
| setGaussianWidth | back to summary
|
|---|
| public abstract void setGaussianWidth(float w)
|