title: Border-Radius and Shadow on ImageView
body: <p>I want to apply a border-radius and a shadow in JavaFX.</p>
  
  <p>In CSS3 it would be:</p>
  
  <pre><code>box-shadow: rgba(0,0,0,0.8) 0 0 10px;
  border-radius: 3px;
  </code></pre>
  
  <p>Now I want this in JavaFX, but even the border-radius is not working in the JavaFX Scene Builder. Here is a screenshot of my problem:</p>
  
  <p><a href="https://i.stack.imgur.com/vi9BM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vi9BM.jpg" alt="JavaFX Screenshot"></a><br>
  <sub>(source: <a href="http://rapid-img.de/images/b92e2112.jpg" rel="nofollow noreferrer">rapid-img.de</a>)</sub>  </p>
  
  <p>On the screenshot you can see that I use:</p>
  
  <pre><code>-fx-border-radius: 10 10 10 10;
  -fx-background-radius: 10 10 10 10;
  </code></pre>