Package | Description |
---|---|
javafx.scene.layout |
Provides classes to support user interface layout.
|
Modifier and Type | Field and Description |
---|---|
static BorderWidths |
BorderWidths.DEFAULT
The default BorderWidths that is used by a BorderImage when null is specified.
|
static BorderWidths |
BorderStroke.DEFAULT_WIDTHS
The default Insets to be used with a BorderStroke that does not
otherwise define any.
|
static BorderWidths |
BorderWidths.EMPTY
An empty set of widths, such that all values are 0 and are literal values.
|
static BorderWidths |
BorderWidths.FULL
A set of widths representing 100% on each side.
|
static BorderWidths |
BorderStroke.MEDIUM
The default insets when "medium" is specified
|
static BorderWidths |
BorderStroke.THICK
The default insets when "thick" is specified
|
static BorderWidths |
BorderStroke.THIN
The default insets when "thin" is specified.
|
Modifier and Type | Method and Description |
---|---|
BorderWidths |
BorderImage.getSlices()
Defines the slices of the image.
|
BorderWidths |
BorderImage.getWidths()
The widths of the border on each side.
|
BorderWidths |
BorderStroke.getWidths()
Defines the thickness of each side of the BorderStroke.
|
Constructor and Description |
---|
BorderImage(Image image,
BorderWidths widths,
Insets insets,
BorderWidths slices,
boolean filled,
BorderRepeat repeatX,
BorderRepeat repeatY)
Creates a new BorderImage.
|
BorderStroke(Paint stroke,
BorderStrokeStyle style,
CornerRadii radii,
BorderWidths widths)
Creates a new BorderStroke.
|
BorderStroke(Paint stroke,
BorderStrokeStyle style,
CornerRadii radii,
BorderWidths widths,
Insets insets)
Creates a new BorderStroke.
|
BorderStroke(Paint topStroke,
Paint rightStroke,
Paint bottomStroke,
Paint leftStroke,
BorderStrokeStyle topStyle,
BorderStrokeStyle rightStyle,
BorderStrokeStyle bottomStyle,
BorderStrokeStyle leftStyle,
CornerRadii radii,
BorderWidths widths,
Insets insets)
Create a new BorderStroke, specifying all construction parameters.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.