Package | Description |
---|---|
javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
javafx.scene.effect |
Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.
|
javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
javafx.scene.paint |
Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
|
Modifier and Type | Method and Description |
---|---|
Color |
FillTransition.getFromValue()
Gets the value of the property fromValue.
|
Color |
StrokeTransition.getFromValue()
Gets the value of the property fromValue.
|
Color |
FillTransition.getToValue()
Gets the value of the property toValue.
|
Color |
StrokeTransition.getToValue()
Gets the value of the property toValue.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Color> |
FillTransition.fromValueProperty()
Specifies the start color value for this
FillTransition . |
ObjectProperty<Color> |
StrokeTransition.fromValueProperty()
Specifies the start color value for this
StrokeTransition . |
ObjectProperty<Color> |
FillTransition.toValueProperty()
Specifies the stop color value for this
FillTransition . |
ObjectProperty<Color> |
StrokeTransition.toValueProperty()
Specifies the stop color value for this
StrokeTransition . |
Modifier and Type | Method and Description |
---|---|
void |
FillTransition.setFromValue(Color value)
Sets the value of the property fromValue.
|
void |
StrokeTransition.setFromValue(Color value)
Sets the value of the property fromValue.
|
void |
FillTransition.setToValue(Color value)
Sets the value of the property toValue.
|
void |
StrokeTransition.setToValue(Color value)
Sets the value of the property toValue.
|
Constructor and Description |
---|
FillTransition(Duration duration,
Color fromValue,
Color toValue)
The constructor of
FillTransition |
FillTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
FillTransition |
StrokeTransition(Duration duration,
Color fromValue,
Color toValue)
The constructor of
StrokeTransition |
StrokeTransition(Duration duration,
Shape shape,
Color fromValue,
Color toValue)
The constructor of
StrokeTransition |
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function)
Create a CssMetaData<S, Color> with initial value of Color.BLACK, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a CssMetaData<S, Color> with initial value, and inherit flag.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty)
Create a StyleableProperty<Color> using previously created CssMetaData for the given
cssProperty . |
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function)
Create a StyleableProperty<Color>.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a StyleableProperty<Color> with initial value.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a StyleableProperty<Color> with initial value and inherit flag.
|
static StyleConverter<String,Color> |
StyleConverter.getColorConverter() |
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a CssMetaData<S, Color> with initial value, and inherit flag.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a StyleableProperty<Color> with initial value.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a StyleableProperty<Color> with initial value and inherit flag.
|
Modifier and Type | Method and Description |
---|---|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function)
Create a CssMetaData<S, Color> with initial value of Color.BLACK, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a CssMetaData<S, Color> with initial value, and inherit flag defaulting to false.
|
CssMetaData<S,Color> |
StyleablePropertyFactory.createColorCssMetaData(String property,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a CssMetaData<S, Color> with initial value, and inherit flag.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function)
Create a StyleableProperty<Color>.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue)
Create a StyleableProperty<Color> with initial value.
|
StyleableProperty<Color> |
StyleablePropertyFactory.createStyleableColorProperty(S styleable,
String propertyName,
String cssProperty,
Function<S,StyleableProperty<Color>> function,
Color initialValue,
boolean inherits)
Create a StyleableProperty<Color> with initial value and inherit flag.
|
Modifier and Type | Method and Description |
---|---|
Color |
LightBase.getColor()
Gets the value of the property color.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Color> |
LightBase.colorProperty()
Specifies the color of light source.
|
Modifier and Type | Method and Description |
---|---|
void |
LightBase.setColor(Color value)
Sets the value of the property color.
|
Constructor and Description |
---|
AmbientLight(Color color)
Creates a new instance of
AmbientLight class using the specified color. |
LightBase(Color color)
Creates a new instance of
LightBase class using the specified color. |
PointLight(Color color)
Creates a new instance of
PointLight class using the specified color. |
Modifier and Type | Method and Description |
---|---|
ObservableList<Color> |
ColorPicker.getCustomColors()
Gets the list of custom colors added to the Color Palette by the user.
|
Constructor and Description |
---|
ColorPicker(Color color)
Creates a ColorPicker instance and sets the selected color to the given color.
|
Modifier and Type | Method and Description |
---|---|
Color |
DropShadow.getColor()
Gets the value of the property color.
|
Color |
InnerShadow.getColor()
Gets the value of the property color.
|
Color |
Light.getColor()
Gets the value of the property color.
|
Color |
Shadow.getColor()
Gets the value of the property color.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Color> |
DropShadow.colorProperty()
The shadow
Color . |
ObjectProperty<Color> |
InnerShadow.colorProperty()
The shadow
Color . |
ObjectProperty<Color> |
Light.colorProperty()
The color of the light source.
|
ObjectProperty<Color> |
Shadow.colorProperty()
The shadow
Color . |
Modifier and Type | Method and Description |
---|---|
void |
DropShadow.setColor(Color value)
Sets the value of the property color.
|
void |
InnerShadow.setColor(Color value)
Sets the value of the property color.
|
void |
Light.setColor(Color value)
Sets the value of the property color.
|
void |
Shadow.setColor(Color value)
Sets the value of the property color.
|
Constructor and Description |
---|
Distant(double azimuth,
double elevation,
Color color)
Creates a new instance of Distant light with the specified azimuth,
elevation, and color.
|
DropShadow(BlurType blurType,
Color color,
double radius,
double spread,
double offsetX,
double offsetY)
Creates a new instance of DropShadow with the specified blurType, color,
radius, spread, offsetX and offsetY.
|
DropShadow(double radius,
Color color)
Creates a new instance of DropShadow with specified radius and color.
|
DropShadow(double radius,
double offsetX,
double offsetY,
Color color)
Creates a new instance of DropShadow with the specified radius, offsetX,
offsetY and color.
|
InnerShadow(BlurType blurType,
Color color,
double radius,
double choke,
double offsetX,
double offsetY)
Creates a new instance of InnerShadow with the specified blurType, color,
radius, spread, offsetX and offsetY.
|
InnerShadow(double radius,
Color color)
Creates a new instance of InnerShadow with specified radius and color.
|
InnerShadow(double radius,
double offsetX,
double offsetY,
Color color)
Creates a new instance of InnerShadow with specified radius, offsetX,
offsetY and color.
|
Point(double x,
double y,
double z,
Color color)
Creates a new instance of Point light with the specified x, y, x, and
color.
|
Shadow(BlurType blurType,
Color color,
double radius)
Creates a new instance of Shadow with the specified blurType, color,
radius.
|
Shadow(double radius,
Color color)
Creates a new instance of Shadow with specified radius and color.
|
Spot(double x,
double y,
double z,
double specularExponent,
Color color)
Creates a new instance of Spot light with the specified x, y, z,
specularExponent, and color.
|
Modifier and Type | Method and Description |
---|---|
Color |
PixelReader.getColor(int x,
int y)
Reads the color of a pixel from the specified coordinates in the
surface and returns the value as a
Color object. |
Modifier and Type | Method and Description |
---|---|
void |
PixelWriter.setColor(int x,
int y,
Color c)
Stores pixel data for a
Color into the specified coordinates
of the surface. |
Modifier and Type | Field and Description |
---|---|
static Color |
Color.ALICEBLUE
The color alice blue with an RGB value of #F0F8FF
|
static Color |
Color.ANTIQUEWHITE
The color antique white with an RGB value of #FAEBD7
|
static Color |
Color.AQUA
The color aqua with an RGB value of #00FFFF
|
static Color |
Color.AQUAMARINE
The color aquamarine with an RGB value of #7FFFD4
|
static Color |
Color.AZURE
The color azure with an RGB value of #F0FFFF
|
static Color |
Color.BEIGE
The color beige with an RGB value of #F5F5DC
|
static Color |
Color.BISQUE
The color bisque with an RGB value of #FFE4C4
|
static Color |
Color.BLACK
The color black with an RGB value of #000000
|
static Color |
Color.BLANCHEDALMOND
The color blanched almond with an RGB value of #FFEBCD
|
static Color |
Color.BLUE
The color blue with an RGB value of #0000FF
|
static Color |
Color.BLUEVIOLET
The color blue violet with an RGB value of #8A2BE2
|
static Color |
Color.BROWN
The color brown with an RGB value of #A52A2A
|
static Color |
Color.BURLYWOOD
The color burly wood with an RGB value of #DEB887
|
static Color |
Color.CADETBLUE
The color cadet blue with an RGB value of #5F9EA0
|
static Color |
Color.CHARTREUSE
The color chartreuse with an RGB value of #7FFF00
|
static Color |
Color.CHOCOLATE
The color chocolate with an RGB value of #D2691E
|
static Color |
Color.CORAL
The color coral with an RGB value of #FF7F50
|
static Color |
Color.CORNFLOWERBLUE
The color cornflower blue with an RGB value of #6495ED
|
static Color |
Color.CORNSILK
The color cornsilk with an RGB value of #FFF8DC
|
static Color |
Color.CRIMSON
The color crimson with an RGB value of #DC143C
|
static Color |
Color.CYAN
The color cyan with an RGB value of #00FFFF
|
static Color |
Color.DARKBLUE
The color dark blue with an RGB value of #00008B
|
static Color |
Color.DARKCYAN
The color dark cyan with an RGB value of #008B8B
|
static Color |
Color.DARKGOLDENROD
The color dark goldenrod with an RGB value of #B8860B
|
static Color |
Color.DARKGRAY
The color dark gray with an RGB value of #A9A9A9
|
static Color |
Color.DARKGREEN
The color dark green with an RGB value of #006400
|
static Color |
Color.DARKGREY
The color dark grey with an RGB value of #A9A9A9
|
static Color |
Color.DARKKHAKI
The color dark khaki with an RGB value of #BDB76B
|
static Color |
Color.DARKMAGENTA
The color dark magenta with an RGB value of #8B008B
|
static Color |
Color.DARKOLIVEGREEN
The color dark olive green with an RGB value of #556B2F
|
static Color |
Color.DARKORANGE
The color dark orange with an RGB value of #FF8C00
|
static Color |
Color.DARKORCHID
The color dark orchid with an RGB value of #9932CC
|
static Color |
Color.DARKRED
The color dark red with an RGB value of #8B0000
|
static Color |
Color.DARKSALMON
The color dark salmon with an RGB value of #E9967A
|
static Color |
Color.DARKSEAGREEN
The color dark sea green with an RGB value of #8FBC8F
|
static Color |
Color.DARKSLATEBLUE
The color dark slate blue with an RGB value of #483D8B
|
static Color |
Color.DARKSLATEGRAY
The color dark slate gray with an RGB value of #2F4F4F
|
static Color |
Color.DARKSLATEGREY
The color dark slate grey with an RGB value of #2F4F4F
|
static Color |
Color.DARKTURQUOISE
The color dark turquoise with an RGB value of #00CED1
|
static Color |
Color.DARKVIOLET
The color dark violet with an RGB value of #9400D3
|
static Color |
Color.DEEPPINK
The color deep pink with an RGB value of #FF1493
|
static Color |
Color.DEEPSKYBLUE
The color deep sky blue with an RGB value of #00BFFF
|
static Color |
Color.DIMGRAY
The color dim gray with an RGB value of #696969
|
static Color |
Color.DIMGREY
The color dim grey with an RGB value of #696969
|
static Color |
Color.DODGERBLUE
The color dodger blue with an RGB value of #1E90FF
|
static Color |
Color.FIREBRICK
The color firebrick with an RGB value of #B22222
|
static Color |
Color.FLORALWHITE
The color floral white with an RGB value of #FFFAF0
|
static Color |
Color.FORESTGREEN
The color forest green with an RGB value of #228B22
|
static Color |
Color.FUCHSIA
The color fuchsia with an RGB value of #FF00FF
|
static Color |
Color.GAINSBORO
The color gainsboro with an RGB value of #DCDCDC
|
static Color |
Color.GHOSTWHITE
The color ghost white with an RGB value of #F8F8FF
|
static Color |
Color.GOLD
The color gold with an RGB value of #FFD700
|
static Color |
Color.GOLDENROD
The color goldenrod with an RGB value of #DAA520
|
static Color |
Color.GRAY
The color gray with an RGB value of #808080
|
static Color |
Color.GREEN
The color green with an RGB value of #008000
|
static Color |
Color.GREENYELLOW
The color green yellow with an RGB value of #ADFF2F
|
static Color |
Color.GREY
The color grey with an RGB value of #808080
|
static Color |
Color.HONEYDEW
The color honeydew with an RGB value of #F0FFF0
|
static Color |
Color.HOTPINK
The color hot pink with an RGB value of #FF69B4
|
static Color |
Color.INDIANRED
The color indian red with an RGB value of #CD5C5C
|
static Color |
Color.INDIGO
The color indigo with an RGB value of #4B0082
|
static Color |
Color.IVORY
The color ivory with an RGB value of #FFFFF0
|
static Color |
Color.KHAKI
The color khaki with an RGB value of #F0E68C
|
static Color |
Color.LAVENDER
The color lavender with an RGB value of #E6E6FA
|
static Color |
Color.LAVENDERBLUSH
The color lavender blush with an RGB value of #FFF0F5
|
static Color |
Color.LAWNGREEN
The color lawn green with an RGB value of #7CFC00
|
static Color |
Color.LEMONCHIFFON
The color lemon chiffon with an RGB value of #FFFACD
|
static Color |
Color.LIGHTBLUE
The color light blue with an RGB value of #ADD8E6
|
static Color |
Color.LIGHTCORAL
The color light coral with an RGB value of #F08080
|
static Color |
Color.LIGHTCYAN
The color light cyan with an RGB value of #E0FFFF
|
static Color |
Color.LIGHTGOLDENRODYELLOW
The color light goldenrod yellow with an RGB value of #FAFAD2
|
static Color |
Color.LIGHTGRAY
The color light gray with an RGB value of #D3D3D3
|
static Color |
Color.LIGHTGREEN
The color light green with an RGB value of #90EE90
|
static Color |
Color.LIGHTGREY
The color light grey with an RGB value of #D3D3D3
|
static Color |
Color.LIGHTPINK
The color light pink with an RGB value of #FFB6C1
|
static Color |
Color.LIGHTSALMON
The color light salmon with an RGB value of #FFA07A
|
static Color |
Color.LIGHTSEAGREEN
The color light sea green with an RGB value of #20B2AA
|
static Color |
Color.LIGHTSKYBLUE
The color light sky blue with an RGB value of #87CEFA
|
static Color |
Color.LIGHTSLATEGRAY
The color light slate gray with an RGB value of #778899
|
static Color |
Color.LIGHTSLATEGREY
The color light slate grey with an RGB value of #778899
|
static Color |
Color.LIGHTSTEELBLUE
The color light steel blue with an RGB value of #B0C4DE
|
static Color |
Color.LIGHTYELLOW
The color light yellow with an RGB value of #FFFFE0
|
static Color |
Color.LIME
The color lime with an RGB value of #00FF00
|
static Color |
Color.LIMEGREEN
The color lime green with an RGB value of #32CD32
|
static Color |
Color.LINEN
The color linen with an RGB value of #FAF0E6
|
static Color |
Color.MAGENTA
The color magenta with an RGB value of #FF00FF
|
static Color |
Color.MAROON
The color maroon with an RGB value of #800000
|
static Color |
Color.MEDIUMAQUAMARINE
The color medium aquamarine with an RGB value of #66CDAA
|
static Color |
Color.MEDIUMBLUE
The color medium blue with an RGB value of #0000CD
|
static Color |
Color.MEDIUMORCHID
The color medium orchid with an RGB value of #BA55D3
|
static Color |
Color.MEDIUMPURPLE
The color medium purple with an RGB value of #9370DB
|
static Color |
Color.MEDIUMSEAGREEN
The color medium sea green with an RGB value of #3CB371
|
static Color |
Color.MEDIUMSLATEBLUE
The color medium slate blue with an RGB value of #7B68EE
|
static Color |
Color.MEDIUMSPRINGGREEN
The color medium spring green with an RGB value of #00FA9A
|
static Color |
Color.MEDIUMTURQUOISE
The color medium turquoise with an RGB value of #48D1CC
|
static Color |
Color.MEDIUMVIOLETRED
The color medium violet red with an RGB value of #C71585
|
static Color |
Color.MIDNIGHTBLUE
The color midnight blue with an RGB value of #191970
|
static Color |
Color.MINTCREAM
The color mint cream with an RGB value of #F5FFFA
|
static Color |
Color.MISTYROSE
The color misty rose with an RGB value of #FFE4E1
|
static Color |
Color.MOCCASIN
The color moccasin with an RGB value of #FFE4B5
|
static Color |
Color.NAVAJOWHITE
The color navajo white with an RGB value of #FFDEAD
|
static Color |
Color.NAVY
The color navy with an RGB value of #000080
|
static Color |
Color.OLDLACE
The color old lace with an RGB value of #FDF5E6
|
static Color |
Color.OLIVE
The color olive with an RGB value of #808000
|
static Color |
Color.OLIVEDRAB
The color olive drab with an RGB value of #6B8E23
|
static Color |
Color.ORANGE
The color orange with an RGB value of #FFA500
|
static Color |
Color.ORANGERED
The color orange red with an RGB value of #FF4500
|
static Color |
Color.ORCHID
The color orchid with an RGB value of #DA70D6
|
static Color |
Color.PALEGOLDENROD
The color pale goldenrod with an RGB value of #EEE8AA
|
static Color |
Color.PALEGREEN
The color pale green with an RGB value of #98FB98
|
static Color |
Color.PALETURQUOISE
The color pale turquoise with an RGB value of #AFEEEE
|
static Color |
Color.PALEVIOLETRED
The color pale violet red with an RGB value of #DB7093
|
static Color |
Color.PAPAYAWHIP
The color papaya whip with an RGB value of #FFEFD5
|
static Color |
Color.PEACHPUFF
The color peach puff with an RGB value of #FFDAB9
|
static Color |
Color.PERU
The color peru with an RGB value of #CD853F
|
static Color |
Color.PINK
The color pink with an RGB value of #FFC0CB
|
static Color |
Color.PLUM
The color plum with an RGB value of #DDA0DD
|
static Color |
Color.POWDERBLUE
The color powder blue with an RGB value of #B0E0E6
|
static Color |
Color.PURPLE
The color purple with an RGB value of #800080
|
static Color |
Color.RED
The color red with an RGB value of #FF0000
|
static Color |
Color.ROSYBROWN
The color rosy brown with an RGB value of #BC8F8F
|
static Color |
Color.ROYALBLUE
The color royal blue with an RGB value of #4169E1
|
static Color |
Color.SADDLEBROWN
The color saddle brown with an RGB value of #8B4513
|
static Color |
Color.SALMON
The color salmon with an RGB value of #FA8072
|
static Color |
Color.SANDYBROWN
The color sandy brown with an RGB value of #F4A460
|
static Color |
Color.SEAGREEN
The color sea green with an RGB value of #2E8B57
|
static Color |
Color.SEASHELL
The color sea shell with an RGB value of #FFF5EE
|
static Color |
Color.SIENNA
The color sienna with an RGB value of #A0522D
|
static Color |
Color.SILVER
The color silver with an RGB value of #C0C0C0
|
static Color |
Color.SKYBLUE
The color sky blue with an RGB value of #87CEEB
|
static Color |
Color.SLATEBLUE
The color slate blue with an RGB value of #6A5ACD
|
static Color |
Color.SLATEGRAY
The color slate gray with an RGB value of #708090
|
static Color |
Color.SLATEGREY
The color slate grey with an RGB value of #708090
|
static Color |
Color.SNOW
The color snow with an RGB value of #FFFAFA
|
static Color |
Color.SPRINGGREEN
The color spring green with an RGB value of #00FF7F
|
static Color |
Color.STEELBLUE
The color steel blue with an RGB value of #4682B4
|
static Color |
Color.TAN
The color tan with an RGB value of #D2B48C
|
static Color |
Color.TEAL
The color teal with an RGB value of #008080
|
static Color |
Color.THISTLE
The color thistle with an RGB value of #D8BFD8
|
static Color |
Color.TOMATO
The color tomato with an RGB value of #FF6347
|
static Color |
Color.TRANSPARENT
A fully transparent color with an ARGB value of #00000000.
|
static Color |
Color.TURQUOISE
The color turquoise with an RGB value of #40E0D0
|
static Color |
Color.VIOLET
The color violet with an RGB value of #EE82EE
|
static Color |
Color.WHEAT
The color wheat with an RGB value of #F5DEB3
|
static Color |
Color.WHITE
The color white with an RGB value of #FFFFFF
|
static Color |
Color.WHITESMOKE
The color white smoke with an RGB value of #F5F5F5
|
static Color |
Color.YELLOW
The color yellow with an RGB value of #FFFF00
|
static Color |
Color.YELLOWGREEN
The color yellow green with an RGB value of #9ACD32
|
Modifier and Type | Method and Description |
---|---|
Color |
Color.brighter()
Creates a new Color that is a brighter version of this Color.
|
static Color |
Color.color(double red,
double green,
double blue)
Creates an opaque sRGB color with the specified red, green and blue values
in the range
0.0-1.0 . |
static Color |
Color.color(double red,
double green,
double blue,
double opacity)
Creates an sRGB color with the specified red, green and blue values
in the range
0.0-1.0 , and a given opacity. |
Color |
Color.darker()
Creates a new Color that is a darker version of this Color.
|
Color |
Color.deriveColor(double hueShift,
double saturationFactor,
double brightnessFactor,
double opacityFactor)
Creates a new
Color based on this Color with hue,
saturation, brightness and opacity values altered. |
Color |
Color.desaturate()
Creates a new Color that is a less saturated version of this Color.
|
Color |
Stop.getColor()
Gets the color of the gradient at this offset.
|
Color |
PhongMaterial.getDiffuseColor()
Gets the value of the property diffuseColor.
|
Color |
PhongMaterial.getSpecularColor()
Gets the value of the property specularColor.
|
static Color |
Color.gray(double gray)
Creates an opaque grey color.
|
static Color |
Color.gray(double gray,
double opacity)
Creates a grey color.
|
static Color |
Color.grayRgb(int gray)
This is a shortcut for
rgb(gray, gray, gray) . |
static Color |
Color.grayRgb(int gray,
double opacity)
This is a shortcut for
rgb(gray, gray, gray, opacity) . |
Color |
Color.grayscale()
Creates a new Color that is grayscale equivalent of this Color.
|
static Color |
Color.hsb(double hue,
double saturation,
double brightness)
Creates an opaque
Color based on the specified values in the HSB color model. |
static Color |
Color.hsb(double hue,
double saturation,
double brightness,
double opacity)
Creates a
Color based on the specified values in the HSB color model,
and a given opacity. |
Color |
Color.interpolate(Color endValue,
double t) |
Color |
Color.invert()
Creates a new Color that is inversion of this Color.
|
static Color |
Color.rgb(int red,
int green,
int blue)
Creates an opaque sRGB color with the specified RGB values in the range
0-255 . |
static Color |
Color.rgb(int red,
int green,
int blue,
double opacity)
Creates an sRGB color with the specified RGB values in the range
0-255 ,
and a given opacity. |
Color |
Color.saturate()
Creates a new Color that is a more saturated version of this Color.
|
static Color |
Color.valueOf(String value)
Creates a color value from a string representation.
|
static Color |
Color.web(String colorString)
Creates an RGB color specified with an HTML or CSS attribute string.
|
static Color |
Color.web(String colorString,
double opacity)
Creates an RGB color specified with an HTML or CSS attribute string.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Color> |
PhongMaterial.diffuseColorProperty()
The diffuse color of this
PhongMaterial . |
ObjectProperty<Color> |
PhongMaterial.specularColorProperty()
The specular color of this
PhongMaterial . |
Modifier and Type | Method and Description |
---|---|
Color |
Color.interpolate(Color endValue,
double t) |
void |
PhongMaterial.setDiffuseColor(Color value)
Sets the value of the property diffuseColor.
|
void |
PhongMaterial.setSpecularColor(Color value)
Sets the value of the property specularColor.
|
Constructor and Description |
---|
PhongMaterial(Color diffuseColor)
Creates a new instance of
PhongMaterial class using the specified
color for its diffuseColor property. |
PhongMaterial(Color diffuseColor,
Image diffuseMap,
Image specularMap,
Image bumpMap,
Image selfIlluminationMap)
Creates a new instance of
PhongMaterial class using the specified
colors and images for its diffuseColor properties. |
Stop(double offset,
Color color)
Creates a new instance of Stop.
|
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.