# Uses of Class
javafx.scene.layout.BackgroundSize

Packages that use BackgroundSize
Package
Description
javafx.scene.layout
Provides classes to support user interface layout.

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

  Classes in javafx.scene.layout that implement interfaces with type arguments of type BackgroundSize
  Modifier and Type
  Class
  Description
  `final class`
  `BackgroundSize`
  Defines the size of the area that a BackgroundImage should fill relative to the Region it is styling.
  Fields in javafx.scene.layout declared as BackgroundSize
  Modifier and Type
  Field
  Description
  `static final BackgroundSize`
  BackgroundSize.`DEFAULT`
  The default BackgroundSize used by BackgroundImages when an explicit size is not defined.
  Methods in javafx.scene.layout that return BackgroundSize
  Modifier and Type
  Method
  Description
  `final BackgroundSize`
  BackgroundImage.`getSize()`
  The size of this image relative to the Region.
  `BackgroundSize`
  BackgroundSize.`interpolate(BackgroundSize endValue, double t)`
  Returns an intermediate value between the value of this `Interpolatable` and the specified `endValue` using the linear interpolation factor `t`, ranging from 0 (inclusive) to 1 (inclusive).
  Methods in javafx.scene.layout with parameters of type BackgroundSize
  Modifier and Type
  Method
  Description
  `BackgroundSize`
  BackgroundSize.`interpolate(BackgroundSize endValue, double t)`
  Returns an intermediate value between the value of this `Interpolatable` and the specified `endValue` using the linear interpolation factor `t`, ranging from 0 (inclusive) to 1 (inclusive).
  Constructors in javafx.scene.layout with parameters of type BackgroundSize
  Modifier
  Constructor
  Description
  ``
  `BackgroundImage(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size)`
  Creates a new BackgroundImage.