Uses of Class
javafx.scene.layout.BackgroundSize
Packages that use BackgroundSize
-
Uses of BackgroundSize in javafx.scene.layout
Classes in javafx.scene.layout that implement interfaces with type arguments of type BackgroundSizeModifier and TypeClassDescriptionfinal class
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 BackgroundSizeModifier and TypeFieldDescriptionstatic final BackgroundSize
BackgroundSize.DEFAULT
The default BackgroundSize used by BackgroundImages when an explicit size is not defined.Methods in javafx.scene.layout that return BackgroundSizeModifier and TypeMethodDescriptionfinal BackgroundSize
BackgroundImage.getSize()
The size of this image relative to the Region.BackgroundSize.interpolate
(BackgroundSize 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 BackgroundSizeModifier and TypeMethodDescriptionBackgroundSize.interpolate
(BackgroundSize 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 BackgroundSizeModifierConstructorDescriptionBackgroundImage
(Image image, BackgroundRepeat repeatX, BackgroundRepeat repeatY, BackgroundPosition position, BackgroundSize size) Creates a new BackgroundImage.