public class GrayColor extends AbstractBaseColor
Type | Property and Description |
---|---|
DoubleProperty |
gray
Return the gray property.
|
opacityProperty
PARAMETER_SEPARATOR
Constructor and Description |
---|
GrayColor(double gray)
Default Constructor.
|
GrayColor(double gray,
double opacity)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
double |
gray()
Return the gray value.
|
DoubleProperty |
grayProperty()
Return the gray property.
|
void |
parse(String... parameters)
Parse a string to initialize fields.
|
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 grayProperty
public GrayColor(double gray)
gray
- the gray component [0.0-1.0]public GrayColor(double gray, double opacity)
gray
- the gray component [0.0-1.0]opacity
- the color opacity [0.0-1.0]public double gray()
public DoubleProperty grayProperty()
protected List<? extends Object> getFieldValues()
ParameterEntry
object.getFieldValues
in class AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.