Uses of Class
javafx.scene.layout.BackgroundPosition
-
Uses of BackgroundPosition in javafx.scene.layout
Modifier and TypeClassDescriptionfinal class
Represents the position of aBackgroundImage
within theRegion
's drawing area.Modifier and TypeFieldDescriptionstatic final BackgroundPosition
BackgroundPosition.CENTER
A BackgroundPosition which will center a BackgroundImage.static final BackgroundPosition
BackgroundPosition.DEFAULT
The default BackgroundPosition for any BackgroundImage.Modifier 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).Modifier 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).ModifierConstructorDescriptionBackgroundImage
(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size) Creates a new BackgroundImage.