JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

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

nametypedescription
Public
colorColor

The shadow Color.

More: [+]

The shadow Color.

       Min: n/a
       Max: n/a
   Default: Color.BLACK
  Identity: n/a
 

offsetXNumber

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
 

offsetYNumber

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
 

radiusNumber

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 String representing the type of hardware acceleration, if any, that is used when applying this Effect on the given GraphicsConfiguration.

More: [+]

Returns a String representing the type of hardware acceleration, if any, that is used when applying this Effect on the given GraphicsConfiguration. This method is intended for informational or debugging purposes only.

Parameters
config
Returns
String