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
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, 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 redProperty
public DoubleProperty greenProperty
public 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 AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.