Overview
An effect which creates a monochrome duplicate of an input with
blurry edges.
This effect is primarily used along with its default black color for
purposes of combining it with the original to create a shadow.
It can also be used with a light color and combined with an original
to create a glow effect.
The DropShadow effect is a utility effect which automatically
combines this Shadow
effect with an original graphic for ease
of adding a shadow to an existing scene graph Node
with a
single effect.
Profile: desktop
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | blurType | BlurType | THREE_PASS_BOX |
The algorithm used to blur the shadow. The algorithm used to blur the shadow. Min: n/a Max: n/a Default: BlurType.THREE_PASS_BOX Identity: n/aTHREE_PASS_BOX |
|||
public | color | Color | BLACK |
The shadow The shadow Min: n/a Max: n/a Default: Color.BLACK Identity: n/aBLACK |
|||
public | height | Number | 21.0 |
The vertical size of the shadow blur kernel. The vertical size of the shadow blur kernel.
This attribute controls the vertical size of the total area over
which the shadow of a single pixel is distributed by the blur algorithm.
Values less than Min: 0.0 Max: 255.0 Default: 21.0 Identity: <1.021.0 |
|||
public | input | Effect | null |
The input for this The input for this |
|||
public | radius | Number | 10.0 |
The radius of the shadow blur kernel. The radius of the shadow blur kernel.
This attribute controls the distance that the shadow is spread
to each side of the source pixels.
Setting the radius is equivalent to setting both the Min: 0.0 Max: 127.0 Default: 10.0 Identity: 0.010.0 |
|||
public | width | Number | 21.0 |
The horizontal size of the shadow blur kernel. The horizontal size of the shadow blur kernel.
This attribute controls the horizontal size of the total area over
which the shadow of a single pixel is distributed by the blur algorithm.
Values less than Min: 0.0 Max: 255.0 Default: 21.0 Identity: <1.021.0 |
Inherited Variables
Function Summary
- public impl_getImpl() : com.sun.scenario.effect.Effect
Inherited Functions
javafx.scene.effect.Effect
- public getAccelType(config: java.lang.Object) : java.lang.String
-
Returns a
String
representing the type of hardware acceleration, if any, that is used when applying thisEffect
on the givenGraphicsConfiguration
.Returns a
String
representing the type of hardware acceleration, if any, that is used when applying thisEffect
on the givenGraphicsConfiguration
. This method is intended for informational or debugging purposes only.-
Parameters
- config
-
Returns
- String
- public impl_add(node: Node) : Void
- public abstract impl_getImpl() : com.sun.scenario.effect.Effect
- public impl_remove(node: Node) : Void