Uses of Class
javafx.scene.layout.BorderWidths
| Package | Description |
|---|---|
| javafx.scene.layout |
Provides classes to support user interface layout.
|
-
Uses of BorderWidths in javafx.scene.layout
Fields in javafx.scene.layout declared as BorderWidths Modifier and Type Field Description static BorderWidthsBorderWidths. DEFAULTThe default BorderWidths that is used by a BorderImage when null is specified.static BorderWidthsBorderStroke. DEFAULT_WIDTHSThe default Insets to be used with a BorderStroke that does not otherwise define any.static BorderWidthsBorderWidths. EMPTYAn empty set of widths, such that all values are 0 and are literal values.static BorderWidthsBorderWidths. FULLA set of widths representing 100% on each side.static BorderWidthsBorderStroke. MEDIUMThe default insets when "medium" is specifiedstatic BorderWidthsBorderStroke. THICKThe default insets when "thick" is specifiedstatic BorderWidthsBorderStroke. THINThe default insets when "thin" is specified.Methods in javafx.scene.layout that return BorderWidths Modifier and Type Method Description BorderWidthsBorderImage. getSlices()Defines the slices of the image.BorderWidthsBorderImage. getWidths()The widths of the border on each side.BorderWidthsBorderStroke. getWidths()Defines the thickness of each side of theBorderStroke.Constructors in javafx.scene.layout with parameters of type BorderWidths Constructor 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 newBorderStroke.BorderStroke(Paint stroke, BorderStrokeStyle style, CornerRadii radii, BorderWidths widths, Insets insets)Creates a newBorderStroke.BorderStroke(Paint topStroke, Paint rightStroke, Paint bottomStroke, Paint leftStroke, BorderStrokeStyle topStyle, BorderStrokeStyle rightStyle, BorderStrokeStyle bottomStyle, BorderStrokeStyle leftStyle, CornerRadii radii, BorderWidths widths, Insets insets)Creates a newBorderStroke, specifying all construction parameters.