user9979178
user9979178

Reputation:

JavaFX How to set Gaussian Blur in CSS

I know you can set a dropshadow in the CSS with:

-fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );

but i wonder how do I set a gaussian blur in the CSS?

Upvotes: 1

Views: 2476

Answers (1)

Slaw
Slaw

Reputation: 46116

According to the JavaFX CSS Reference Guide JavaFX only supports setting a DropShadow or InnerShadow from CSS.

JavaFX CSS currently supports the DropShadow and InnerShadow effects from the JavaFX platform. See the class documentation in javafx.scene.effect for further details about the semantics of the various effect parameters.

Upvotes: 3

Related Questions