Overview
A high-level effect that renders a shadow of the given content behind the content with the specified color, radius, and offset.
Attribute Summary
| name | type | description |
|---|---|---|
| Public | ||
| color | Color |
The shadow The shadow
Min: n/a
Max: n/a
Default: Color.BLACK
Identity: n/a
|
| offsetX | Number |
The shadow offset in the x direction, in pixels. More: [+]The shadow offset in the x direction, in pixels.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
|
| offsetY | Number |
The shadow offset in the y direction, in pixels. More: [+]The shadow offset in the y direction, in pixels.
Min: n/a
Max: n/a
Default: 0.0
Identity: 0.0
|
| radius | Number |
The radius of the shadow blur kernel. More: [+]The radius of the shadow blur kernel.
Min: 1.0
Max: 63.0
Default: 10.0
Identity: n/a
|
| Protected | ||
Inherited Attributes
Inherited Functions
javafx.scene.effect.Effect
- public getAccelType(config: java.awt.GraphicsConfiguration) : java.lang.String
-
Returns a
More: [+]Stringrepresenting the type of hardware acceleration, if any, that is used when applying thisEffecton the givenGraphicsConfiguration.Returns a
Stringrepresenting the type of hardware acceleration, if any, that is used when applying thisEffecton the givenGraphicsConfiguration. This method is intended for informational or debugging purposes only.-
Parameters
- config
-
Returns
- String