public class RGB01Color extends AbstractBaseColor
| Type | Property and Description |
|---|---|
DoubleProperty |
blue
Return the blue property.
|
DoubleProperty |
green
Return the green property.
|
DoubleProperty |
red
Return the red property.
|
opacityProperty| Modifier and Type | Field and Description |
|---|---|
private DoubleProperty |
blueProperty
The blue value [0.0-1.0].
|
private DoubleProperty |
greenProperty
The green value [0.0-1.0].
|
private DoubleProperty |
redProperty
The green value [0.0-1.0].
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
RGB01Color(double red,
double green,
double blue)
Default Constructor.
|
RGB01Color(double red,
double green,
double blue,
double opacity)
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
blue()
Return the blue value [0.0-1.0].
|
DoubleProperty |
blueProperty()
Return the blue property.
|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
double |
green()
Return the green value [0.0-1.0].
|
DoubleProperty |
greenProperty()
Return the green property.
|
void |
parse(String[] parameters)
Parse a string to initialize fields.
|
double |
red()
Return the red value [0.0-1.0].
|
DoubleProperty |
redProperty()
Return the red property.
|
opacity, opacityPropertyactivateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final DoubleProperty redProperty
private final DoubleProperty greenProperty
private final DoubleProperty blueProperty
public RGB01Color(double red,
double green,
double blue)
red - the red value [0.0-1.0]green - the green value [0.0-1.0]blue - the blue value [0.0-1.0]public RGB01Color(double red,
double green,
double blue,
double opacity)
red - the red value [0.0-1.0]green - the green value [0.0-1.0]blue - the blue value [0.0-1.0]opacity - the color opacity component [0.0-1.0]public double red()
public DoubleProperty redProperty()
public double green()
public DoubleProperty greenProperty()
public double blue()
public DoubleProperty blueProperty()
public void parse(String[] parameters)
parameters - split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry object.getFieldValues in class AbstractBaseParamsCopyright © 2011–2014 JRebirth OSS. All rights reserved.