APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.layout

public final Enum BackgroundRepeat

extends Enum<BackgroundRepeat>
Class Inheritance

Enumeration of options for repeating images in backgrounds
Since
JavaFX 8.0

Field Summary

Modifier and TypeField and Description
public static final BackgroundRepeat
NO_REPEAT

The image is placed once and not repeated

public static final BackgroundRepeat
REPEAT

The image is repeated as often as needed to cover the area.

public static final BackgroundRepeat
ROUND

The image is repeated as often as will fit within the area.

public static final BackgroundRepeat
SPACE

The image is repeated as often as will fit within the area without being clipped and then the images are spaced out to fill the area.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static BackgroundRepeat
public static BackgroundRepeat[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

NO_REPEATback to summary
public static final BackgroundRepeat NO_REPEAT

The image is placed once and not repeated

REPEATback to summary
public static final BackgroundRepeat REPEAT

The image is repeated as often as needed to cover the area.

ROUNDback to summary
public static final BackgroundRepeat ROUND

The image is repeated as often as will fit within the area. If it doesn't fit a whole number of times, it is reduced in size until it does.

SPACEback to summary
public static final BackgroundRepeat SPACE

The image is repeated as often as will fit within the area without being clipped and then the images are spaced out to fill the area. The first and last images touch the edges of the area.

Constructor Detail

BackgroundRepeatback to summary
private BackgroundRepeat()

Method Detail

valueOfback to summary
public static BackgroundRepeat valueOf(String name)
valuesback to summary
public static BackgroundRepeat[] values()