# Uses of Class
javafx.scene.layout.BackgroundPosition

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

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

  Classes in javafx.scene.layout that implement interfaces with type arguments of type BackgroundPosition
  Modifier and Type
  Class
  Description
  `final class`
  `BackgroundPosition`
  Represents the position of a `BackgroundImage` within the `Region`'s drawing area.
  Fields in javafx.scene.layout declared as BackgroundPosition
  Modifier and Type
  Field
  Description
  `static final BackgroundPosition`
  BackgroundPosition.`CENTER`
  A BackgroundPosition which will center a BackgroundImage.
  `static final BackgroundPosition`
  BackgroundPosition.`DEFAULT`
  The default BackgroundPosition for any BackgroundImage.
  Methods in javafx.scene.layout that return BackgroundPosition
  Modifier and Type
  Method
  Description
  `final BackgroundPosition`
  BackgroundImage.`getPosition()`
  The position of this BackgroundImage relative to the Region.
  `BackgroundPosition`
  BackgroundPosition.`interpolate(BackgroundPosition 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 BackgroundPosition
  Modifier and Type
  Method
  Description
  `BackgroundPosition`
  BackgroundPosition.`interpolate(BackgroundPosition 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 BackgroundPosition
  Modifier
  Constructor
  Description
  ``
  `BackgroundImage(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size)`
  Creates a new BackgroundImage.