Uses of Class
javafx.scene.layout.BackgroundPosition
Packages that use BackgroundPosition
-
Uses of BackgroundPosition in javafx.scene.layout
Classes in javafx.scene.layout that implement interfaces with type arguments of type BackgroundPositionModifier and TypeClassDescriptionfinal class
Represents the position of aBackgroundImage
within theRegion
's drawing area.Fields in javafx.scene.layout declared as BackgroundPositionModifier and TypeFieldDescriptionstatic 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 BackgroundPositionModifier and TypeMethodDescriptionfinal BackgroundPosition
BackgroundImage.getPosition()
The position of this BackgroundImage relative to the Region.BackgroundPosition.interpolate
(BackgroundPosition endValue, double t) Returns an intermediate value between the value of thisInterpolatable
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).Methods in javafx.scene.layout with parameters of type BackgroundPositionModifier and TypeMethodDescriptionBackgroundPosition.interpolate
(BackgroundPosition endValue, double t) Returns an intermediate value between the value of thisInterpolatable
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).Constructors in javafx.scene.layout with parameters of type BackgroundPositionModifierConstructorDescriptionBackgroundImage
(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size) Creates a new BackgroundImage.