public class HSBColor extends AbstractBaseColor
Type | Property and Description |
---|---|
DoubleProperty |
brightness
Return the brightness property.
|
DoubleProperty |
hue
Return the hue property.
|
DoubleProperty |
saturation
Return the saturation property.
|
opacityProperty
PARAMETER_SEPARATOR
Constructor and Description |
---|
HSBColor(double hue,
double saturation,
double brightness)
Default Constructor.
|
HSBColor(double hue,
double saturation,
double brightness,
double opacity)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
brightness()
Return the brightness value 0.0-1.0.
|
DoubleProperty |
brightnessProperty()
Return the brightness property.
|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
double |
hue()
Return the hue value [0.0-360.0] in degrees.
|
DoubleProperty |
hueProperty()
Return the hue property.
|
void |
parse(String... parameters)
Parse a string to initialize fields.
|
double |
saturation()
Return the saturation value 0.0-1.0.
|
DoubleProperty |
saturationProperty()
Return the saturation property.
|
opacity, opacityProperty
activateAutoRefresh, equals, getKey, hasChanged, hasChanged, hashCode, readBoolean, readDouble, readInteger, setKey, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
activateAutoRefresh, getKey, hasChanged, hasChanged, setKey
public DoubleProperty hueProperty
public DoubleProperty saturationProperty
public DoubleProperty brightnessProperty
public HSBColor(double hue, double saturation, double brightness)
hue
- the color hue [0.0-360.0] in degreessaturation
- the color saturation [0.0-1.0]brightness
- the color brightness [0.0-1.0]public HSBColor(double hue, double saturation, double brightness, double opacity)
hue
- the color hue [0.0-360.0] in degreessaturation
- the color saturation [0.0-1.0]brightness
- the color brightness [0.0-1.0]opacity
- the color opacity [0.0-1.0]public double hue()
public DoubleProperty hueProperty()
public double saturation()
public DoubleProperty saturationProperty()
public double brightness()
public DoubleProperty brightnessProperty()
public void parse(String... parameters)
parameters
- split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry
object.getFieldValues
in class AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.