Class SolidColor
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.style.SolidColor
-
- All Implemented Interfaces:
Color
,Serializable
public class SolidColor extends AbstractConfigurationObject implements Color
Solid (non gradient) colors- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SolidColor(int red, int green, int blue)
Constructs a color from RGB valuesSolidColor(int red, int green, int blue, double opacity)
Constructs a color from RGBA valuesSolidColor(String color)
Constructs a new color from a hex value like "#ff0000" for red.
-
-
-
Field Detail
-
ALICEBLUE
public static final SolidColor ALICEBLUE
-
ANTIQUEWHITE
public static final SolidColor ANTIQUEWHITE
-
AQUA
public static final SolidColor AQUA
-
AQUAMARINE
public static final SolidColor AQUAMARINE
-
AZURE
public static final SolidColor AZURE
-
BEIGE
public static final SolidColor BEIGE
-
BISQUE
public static final SolidColor BISQUE
-
BLACK
public static final SolidColor BLACK
-
BLANCHEDALMOND
public static final SolidColor BLANCHEDALMOND
-
BLUE
public static final SolidColor BLUE
-
BLUEVIOLET
public static final SolidColor BLUEVIOLET
-
BROWN
public static final SolidColor BROWN
-
BURLYWOOD
public static final SolidColor BURLYWOOD
-
CADETBLUE
public static final SolidColor CADETBLUE
-
CHARTREUSE
public static final SolidColor CHARTREUSE
-
CHOCOLATE
public static final SolidColor CHOCOLATE
-
CORAL
public static final SolidColor CORAL
-
CORNFLOWERBLUE
public static final SolidColor CORNFLOWERBLUE
-
CORNSILK
public static final SolidColor CORNSILK
-
CRIMSON
public static final SolidColor CRIMSON
-
CYAN
public static final SolidColor CYAN
-
DARKBLUE
public static final SolidColor DARKBLUE
-
DARKCYAN
public static final SolidColor DARKCYAN
-
DARKGOLDENROD
public static final SolidColor DARKGOLDENROD
-
DARKGRAY
public static final SolidColor DARKGRAY
-
DARKGREY
public static final SolidColor DARKGREY
-
DARKGREEN
public static final SolidColor DARKGREEN
-
DARKKHAKI
public static final SolidColor DARKKHAKI
-
DARKMAGENTA
public static final SolidColor DARKMAGENTA
-
DARKOLIVEGREEN
public static final SolidColor DARKOLIVEGREEN
-
DARKORANGE
public static final SolidColor DARKORANGE
-
DARKORCHID
public static final SolidColor DARKORCHID
-
DARKRED
public static final SolidColor DARKRED
-
DARKSALMON
public static final SolidColor DARKSALMON
-
DARKSEAGREEN
public static final SolidColor DARKSEAGREEN
-
DARKSLATEBLUE
public static final SolidColor DARKSLATEBLUE
-
DARKSLATEGRAY
public static final SolidColor DARKSLATEGRAY
-
DARKSLATEGREY
public static final SolidColor DARKSLATEGREY
-
DARKTURQUOISE
public static final SolidColor DARKTURQUOISE
-
DARKVIOLET
public static final SolidColor DARKVIOLET
-
DEEPPINK
public static final SolidColor DEEPPINK
-
DEEPSKYBLUE
public static final SolidColor DEEPSKYBLUE
-
DIMGRAY
public static final SolidColor DIMGRAY
-
DIMGREY
public static final SolidColor DIMGREY
-
DODGERBLUE
public static final SolidColor DODGERBLUE
-
FIREBRICK
public static final SolidColor FIREBRICK
-
FLORALWHITE
public static final SolidColor FLORALWHITE
-
FORESTGREEN
public static final SolidColor FORESTGREEN
-
FUCHSIA
public static final SolidColor FUCHSIA
-
GAINSBORO
public static final SolidColor GAINSBORO
-
GHOSTWHITE
public static final SolidColor GHOSTWHITE
-
GOLD
public static final SolidColor GOLD
-
GOLDENROD
public static final SolidColor GOLDENROD
-
GRAY
public static final SolidColor GRAY
-
GREY
public static final SolidColor GREY
-
GREEN
public static final SolidColor GREEN
-
GREENYELLOW
public static final SolidColor GREENYELLOW
-
HONEYDEW
public static final SolidColor HONEYDEW
-
HOTPINK
public static final SolidColor HOTPINK
-
INDIANRED
public static final SolidColor INDIANRED
-
INDIGO
public static final SolidColor INDIGO
-
IVORY
public static final SolidColor IVORY
-
KHAKI
public static final SolidColor KHAKI
-
LAVENDER
public static final SolidColor LAVENDER
-
LAVENDERBLUSH
public static final SolidColor LAVENDERBLUSH
-
LAWNGREEN
public static final SolidColor LAWNGREEN
-
LEMONCHIFFON
public static final SolidColor LEMONCHIFFON
-
LIGHTBLUE
public static final SolidColor LIGHTBLUE
-
LIGHTCORAL
public static final SolidColor LIGHTCORAL
-
LIGHTCYAN
public static final SolidColor LIGHTCYAN
-
LIGHTGOLDENRODYELLOW
public static final SolidColor LIGHTGOLDENRODYELLOW
-
LIGHTGRAY
public static final SolidColor LIGHTGRAY
-
LIGHTGREY
public static final SolidColor LIGHTGREY
-
LIGHTGREEN
public static final SolidColor LIGHTGREEN
-
LIGHTPINK
public static final SolidColor LIGHTPINK
-
LIGHTSALMON
public static final SolidColor LIGHTSALMON
-
LIGHTSEAGREEN
public static final SolidColor LIGHTSEAGREEN
-
LIGHTSKYBLUE
public static final SolidColor LIGHTSKYBLUE
-
LIGHTSLATEGRAY
public static final SolidColor LIGHTSLATEGRAY
-
LIGHTSLATEGREY
public static final SolidColor LIGHTSLATEGREY
-
LIGHTSTEELBLUE
public static final SolidColor LIGHTSTEELBLUE
-
LIGHTYELLOW
public static final SolidColor LIGHTYELLOW
-
LIME
public static final SolidColor LIME
-
LIMEGREEN
public static final SolidColor LIMEGREEN
-
LINEN
public static final SolidColor LINEN
-
MAGENTA
public static final SolidColor MAGENTA
-
MAROON
public static final SolidColor MAROON
-
MEDIUMAQUAMARINE
public static final SolidColor MEDIUMAQUAMARINE
-
MEDIUMBLUE
public static final SolidColor MEDIUMBLUE
-
MEDIUMORCHID
public static final SolidColor MEDIUMORCHID
-
MEDIUMPURPLE
public static final SolidColor MEDIUMPURPLE
-
MEDIUMSEAGREEN
public static final SolidColor MEDIUMSEAGREEN
-
MEDIUMSLATEBLUE
public static final SolidColor MEDIUMSLATEBLUE
-
MEDIUMSPRINGGREEN
public static final SolidColor MEDIUMSPRINGGREEN
-
MEDIUMTURQUOISE
public static final SolidColor MEDIUMTURQUOISE
-
MEDIUMVIOLETRED
public static final SolidColor MEDIUMVIOLETRED
-
MIDNIGHTBLUE
public static final SolidColor MIDNIGHTBLUE
-
MINTCREAM
public static final SolidColor MINTCREAM
-
MISTYROSE
public static final SolidColor MISTYROSE
-
MOCCASIN
public static final SolidColor MOCCASIN
-
NAVAJOWHITE
public static final SolidColor NAVAJOWHITE
-
NAVY
public static final SolidColor NAVY
-
OLDLACE
public static final SolidColor OLDLACE
-
OLIVE
public static final SolidColor OLIVE
-
OLIVEDRAB
public static final SolidColor OLIVEDRAB
-
ORANGE
public static final SolidColor ORANGE
-
ORANGERED
public static final SolidColor ORANGERED
-
ORCHID
public static final SolidColor ORCHID
-
PALEGOLDENROD
public static final SolidColor PALEGOLDENROD
-
PALEGREEN
public static final SolidColor PALEGREEN
-
PALETURQUOISE
public static final SolidColor PALETURQUOISE
-
PALEVIOLETRED
public static final SolidColor PALEVIOLETRED
-
PAPAYAWHIP
public static final SolidColor PAPAYAWHIP
-
PEACHPUFF
public static final SolidColor PEACHPUFF
-
PERU
public static final SolidColor PERU
-
PINK
public static final SolidColor PINK
-
PLUM
public static final SolidColor PLUM
-
POWDERBLUE
public static final SolidColor POWDERBLUE
-
PURPLE
public static final SolidColor PURPLE
-
RED
public static final SolidColor RED
-
ROSYBROWN
public static final SolidColor ROSYBROWN
-
ROYALBLUE
public static final SolidColor ROYALBLUE
-
SADDLEBROWN
public static final SolidColor SADDLEBROWN
-
SALMON
public static final SolidColor SALMON
-
SANDYBROWN
public static final SolidColor SANDYBROWN
-
SEAGREEN
public static final SolidColor SEAGREEN
-
SEASHELL
public static final SolidColor SEASHELL
-
SIENNA
public static final SolidColor SIENNA
-
SILVER
public static final SolidColor SILVER
-
SKYBLUE
public static final SolidColor SKYBLUE
-
SLATEBLUE
public static final SolidColor SLATEBLUE
-
SLATEGRAY
public static final SolidColor SLATEGRAY
-
SLATEGREY
public static final SolidColor SLATEGREY
-
SNOW
public static final SolidColor SNOW
-
SPRINGGREEN
public static final SolidColor SPRINGGREEN
-
STEELBLUE
public static final SolidColor STEELBLUE
-
TAN
public static final SolidColor TAN
-
TEAL
public static final SolidColor TEAL
-
THISTLE
public static final SolidColor THISTLE
-
TOMATO
public static final SolidColor TOMATO
-
TURQUOISE
public static final SolidColor TURQUOISE
-
VIOLET
public static final SolidColor VIOLET
-
WHEAT
public static final SolidColor WHEAT
-
WHITE
public static final SolidColor WHITE
-
WHITESMOKE
public static final SolidColor WHITESMOKE
-
YELLOW
public static final SolidColor YELLOW
-
YELLOWGREEN
public static final SolidColor YELLOWGREEN
-
-
Constructor Detail
-
SolidColor
public SolidColor(String color)
Constructs a new color from a hex value like "#ff0000" for red.- Parameters:
color
-
-
SolidColor
public SolidColor(int red, int green, int blue)
Constructs a color from RGB values- Parameters:
red
- Red value (0...255)green
- Green value (0...255)blue
- Blue value (0...255)
-
SolidColor
public SolidColor(int red, int green, int blue, double opacity)
Constructs a color from RGBA values- Parameters:
red
- Red value (0...255)green
- Green value (0...255)blue
- Blue value (0...255)opacity
- Opacity of color (0.0 ... 1.0)
-
-