## Uses of Class
javafx.scene.layout.BackgroundFill

- Packages that use BackgroundFill
  Package | Description
  --- | ---
  javafx.scene.layout | Provides classes to support user interface layout.

- - ### Uses of BackgroundFill in javafx.scene.layout

    Methods in javafx.scene.layout that return types with arguments of type BackgroundFill
    Modifier and Type | Method and Description
    --- | ---
    `List<BackgroundFill>` | Background.`getFills()` The list of BackgroundFills which together define the filled portion of this Background.

    Constructors in javafx.scene.layout with parameters of type BackgroundFill
    Constructor and Description
    `Background(BackgroundFill... fills)` Create a new Background by supplying an array of BackgroundFills.
    `Background(BackgroundFill[] fills, BackgroundImage[] images)` Create a new Background by supplying two arrays, one for background fills, and one for background images.

    Constructor parameters in javafx.scene.layout with type arguments of type BackgroundFill
    Constructor and Description
    `Background(List<BackgroundFill> fills, List<BackgroundImage> images)` Create a new Background supply two Lists, one for background fills and one for background images.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.