Package | Description |
---|---|
com.sun.javafx.scene.layout.region | |
com.sun.javafx.sg.prism | |
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Field and Description |
---|---|
BackgroundRepeat |
RepeatStruct.repeatX |
BackgroundRepeat |
RepeatStruct.repeatY |
Modifier and Type | Field and Description |
---|---|
private EnumConverter<BackgroundRepeat> |
RepeatStructConverter.repeatConverter |
Constructor and Description |
---|
RepeatStruct(BackgroundRepeat repeatX,
BackgroundRepeat repeatY) |
Modifier and Type | Method and Description |
---|---|
private void |
NGRegion.paintTiles(Graphics g,
Image img,
BackgroundRepeat repeatX,
BackgroundRepeat repeatY,
Side horizontalSide,
Side verticalSide,
float regionX,
float regionY,
float regionWidth,
float regionHeight,
int srcX,
int srcY,
int srcW,
int srcH,
float tileX,
float tileY,
float tileWidth,
float tileHeight)
Paints a subsection (srcX,srcY,srcW,srcH) of an image tiled or stretched to fill the destination area
(regionWidth,regionHeight).
|
Modifier and Type | Field and Description |
---|---|
(package private) BackgroundRepeat |
BackgroundImage.repeatX |
(package private) BackgroundRepeat |
BackgroundImage.repeatY |
Modifier and Type | Method and Description |
---|---|
BackgroundRepeat |
BackgroundImage.getRepeatX()
Indicates in what manner (if at all) the background image
is to be repeated along the x-axis of the region.
|
BackgroundRepeat |
BackgroundImage.getRepeatY()
Indicates in what manner (if at all) the background image
is to be repeated along the y-axis of the region.
|
static BackgroundRepeat |
BackgroundRepeat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackgroundRepeat[] |
BackgroundRepeat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BackgroundImage(Image image,
BackgroundRepeat repeatX,
BackgroundRepeat repeatY,
BackgroundPosition position,
BackgroundSize size)
Creates a new BackgroundImage.
|