package javafx.scene.layout;

/**
 * Enum indicating the repetition rules for border images.
 * @since JavaFX 8.0
 */
public enum BorderRepeat {
    /**
     * The image is stretched to fill the area.
     */
    STRETCH,
    /**
     * The image is tiled (repeated) to fill the area.
     */
    REPEAT,
    /**
     * The image is tiled (repeated) and rescaled (if necessary) to fill the area with a whole number of tiles.
     */
    ROUND,
    /**
     * The image is tiled (repeated) to fill the area with a whole number of tiles, and any
     * extra space is distributed around the tiles.
     */
    SPACE
}
