| Modifier and Type | Field and Description |
|---|---|
| private final Blend | |
| private final InvertMask | |
| private AbstractShadow |
| Access | Constructor and Description |
|---|---|
| public | InnerShadow()
Constructs a new |
| public | InnerShadow(Effect
the single input input)EffectConstructs a new |
| public | InnerShadow(Effect
the input shadowSourceInput, Effect Effect used to create
the background shadowthe input contentInput)Effect used to render the content
over the shadowConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| 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 float | |
| public Color4f | |
| public final Effect | Returns: the content input for thisEffectReturns the content input for this |
| protected Effect | getDelegate()
Implements abstract com. Returns the |
| public float | |
| public float | |
| public float | |
| public int | Returns: the offset in the x direction, in pixels.Returns the offset in the x direction, in pixels. |
| public int | Returns: the offset in the x direction, in pixels.Returns the offset in the x direction, in pixels. |
| public float | |
| public AbstractShadow. | |
| public final Effect | Returns: the shadow source input for thisEffectReturns the shadow source input for this |
| public void | |
| public void | |
| public void | setContentInput(Effect
the content input for this contentInput)EffectSets the content input for this |
| public void | |
| public void | |
| public void | |
| public void | setOffsetX(int
the offset in the x direction, in pixels xoff)Sets the offset in the x direction, in pixels. |
| public void | setOffsetY(int
the offset in the y direction, in pixels yoff)Sets the offset in the y direction, in pixels. |
| public void | setRadius(float
the radius of the shadow blur kernel radius)Sets the radius of the shadow blur kernel. |
| public void | |
| public void | setShadowSourceInput(Effect
the shadow source input for this shadowSourceInput)EffectSets the shadow source input for this |
| public Point2D | transform(Point2D p, Effect defaultInput)
Overrides com. Transform the specified point |
| public Point2D | untransform(Point2D p, Effect defaultInput)
Overrides com. Transform the specified point |
| blend | back to summary |
|---|---|
| private final Blend blend | |
| invert | back to summary |
|---|---|
| private final InvertMask invert | |
| shadow | back to summary |
|---|---|
| private AbstractShadow shadow | |
| InnerShadow | back to summary |
|---|---|
| public InnerShadow() Constructs a new
new InnerShadow(DefaultInput, DefaultInput)
| |
| InnerShadow | back to summary |
|---|---|
| public InnerShadow(Effect input) Constructs a new
new InnerShadow(input, input);
| |
| InnerShadow | back to summary |
|---|---|
| public InnerShadow(Effect shadowSourceInput, Effect contentInput) Constructs a new This constructor is intended for advanced developers only. Most developers will only ever need to use the default constructor.
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
| |
| getChoke | back to summary |
|---|---|
| public float getChoke() Gets the choke of the shadow effect.
| |
| getColor | back to summary |
|---|---|
| public Color4f getColor() Returns the shadow color.
| |
| getContentInput | back to summary |
|---|---|
| public final Effect getContentInput() Returns the content input for this
| |
| getDelegate | back to summary |
|---|---|
| protected Effect getDelegate() Implements abstract com. Doc from com. Returns the
| |
| getGaussianHeight | back to summary |
|---|---|
| public float getGaussianHeight() | |
| getGaussianRadius | back to summary |
|---|---|
| public float getGaussianRadius() | |
| getGaussianWidth | back to summary |
|---|---|
| public float getGaussianWidth() | |
| getOffsetX | back to summary |
|---|---|
| public int getOffsetX() Returns the offset in the x direction, in pixels.
| |
| getOffsetY | back to summary |
|---|---|
| public int getOffsetY() Returns the offset in the x direction, in pixels.
| |
| getRadius | back to summary |
|---|---|
| public float getRadius() Returns the radius of the Gaussian kernel.
| |
| getShadowMode | back to summary |
|---|---|
| public AbstractShadow. | |
| getShadowSourceInput | back to summary |
|---|---|
| public final Effect getShadowSourceInput() Returns the shadow source input for this
| |
| setChoke | back to summary |
|---|---|
| public void setChoke(float choke) Sets the choke of the shadow effect.
The choke 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 choke of
Min: 0.0
Max: 1.0
Default: 0.0
Identity: 0.0
| |
| setColor | back to summary |
|---|---|
| public void setColor(Color4f color) Sets the shadow color.
Min: n/a
Max: n/a
Default: Color4f.BLACK
Identity: n/a
| |
| setContentInput | back to summary |
|---|---|
| public void setContentInput(Effect contentInput) Sets the content input for this
| |
| setGaussianHeight | back to summary |
|---|---|
| public void setGaussianHeight(float h) | |
| setGaussianRadius | back to summary |
|---|---|
| public void setGaussianRadius(float r) | |
| setGaussianWidth | back to summary |
|---|---|
| public void setGaussianWidth(float w) | |
| setOffsetX | back to summary |
|---|---|
| public void setOffsetX(int xoff) Sets the offset in the x direction, in pixels.
Min: Integer.MIN_VALUE
Max: Integer.MAX_VALUE
Default: 0
Identity: 0
| |
| setOffsetY | back to summary |
|---|---|
| public void setOffsetY(int yoff) Sets the offset in the y direction, in pixels.
Min: Integer.MIN_VALUE
Max: Integer.MAX_VALUE
Default: 0
Identity: 0
| |
| setRadius | back to summary |
|---|---|
| public void setRadius(float radius) Sets the radius of the shadow blur kernel.
Min: 0.0
Max: 127.0
Default: 10.0
Identity: 0.0
| |
| setShadowMode | back to summary |
|---|---|
| public void setShadowMode(AbstractShadow. | |
| setShadowSourceInput | back to summary |
|---|---|
| public void setShadowSourceInput(Effect shadowSourceInput) Sets the shadow source input for this
| |
| transform | back to summary |
|---|---|
| public Point2D transform(Point2D p, Effect defaultInput) Overrides com. Doc from com. Transform the specified point
The definition of which input represents the primary content input
and how the coordinate space of that input compares to the coordinate
space of the result varies from effect to effect.
Note that some effects may have a reasonable definition of how to
map source coordinates to destination coordinates, but not the
reverse.
In particular, effects which map source coordinates discontiguously
into the result may have several output coordinates that are affected
by a given input coordinate and may choose to return one of many
equally valid answers, or an undefined result such as
| |
| untransform | back to summary |
|---|---|
| public Point2D untransform(Point2D p, Effect defaultInput) Overrides com. Doc from com. Transform the specified point
The definition of which input represents the primary content input
and how the coordinate space of that input compares to the coordinate
space of the result varies from effect to effect.
Note that some effects may have a reasonable definition of how to
map destination coordinates back to source coordinates, but not the
reverse.
In particular, effects which produce entirely synthetic results not
based on any content input may not be able to give a meaningful
result to this query and may return undefined coordinates such as
| |