Class BackgroundFill

java.lang.Object
javafx.scene.layout.BackgroundFill

public final class BackgroundFill extends Object
The fill and associated properties that direct how to fill the background of a Region. Because BackgroundFill is an immutable object, it can safely be used in any cache, and can safely be reused among multiple Regions or multiple times in the same Region.

All BackgroundFills are drawn in order.

When applied to a Region with a defined shape, the corner radii are ignored.

Since:
JavaFX 8.0