10/11/2017, 4:09 PM
Hey all. I am having slight trouble with the CSS. I am going through JavaFX 9 By Example and doing to examples with TornadoFX. In chapter 9, there is an audio player example the presents the frequency in a chart format. The fill is to be represented as a linear gradient; starting from red and ending in violet. I more than likely using the LinearGradient class wrong; but I thought someone here may tell me what exactly I am doing wrong. Below is an example of a rectangle with the linear gradient as the fill.