public class StyleConverter
extends java.lang.Object
| Constructor | Description |
|---|---|
StyleConverter() |
| Modifier and Type | Method | Description |
|---|---|---|
static javafx.scene.paint.Color |
getColorFromHexValue(int colorValue) |
|
static javafx.scene.paint.Color |
getLabelColor(javafx.scene.paint.Color color) |
Returns either black or white depending on the brightness of the input
color.
|
static javafx.scene.layout.BorderStrokeStyle |
getStrokeStyle(java.lang.String name) |
public static javafx.scene.layout.BorderStrokeStyle getStrokeStyle(java.lang.String name)
name - of the desired enumpublic static javafx.scene.paint.Color getColorFromHexValue(int colorValue)
colorValue - to be convertedpublic static javafx.scene.paint.Color getLabelColor(javafx.scene.paint.Color color)
color - reference color