Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Shadowing

Adding a shadow to content is likely one of the things that you’ll want to perform regularly. To help make the task of showing straightforward, JavaFX has seen fit to include the Shadow, DropShadow, and InnerShadow effects. To demonstrate their usage, we’ll first display some simple text as a baseline and see what happens as various permutations of the effects are applied. Figure 6.1 displays a simple Text node.

Figure 6.1. Initial Baseline Text



  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint