public class ColorFactor extends Factor<ColorFactor>
Factor
used for color transformations such as
GenericColor.lighten(ColorFactor)
or GenericColor.darken(ColorFactor)
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
Modifier | Constructor and Description |
---|---|
protected |
ColorFactor()
The constructor for de-serialization in GWT.
|
|
ColorFactor(double value)
The constructor.
|
|
ColorFactor(Double value)
The constructor.
|
|
ColorFactor(String value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ColorFactor |
newInstance(double value)
Creates a new instance with the given value.
|
getMaximumValue, getValueAsByte, getValueAsFactor, toStringAsByte
decrease, getMinimumValue, increase, invert
getValueAsPercent, toStringAsFactor, toStringAsPercent
getValue
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue
private static final long serialVersionUID
protected ColorFactor()
public ColorFactor(double value)
value
- is the value
.protected ColorFactor newInstance(double value)
newInstance
in class AbstractDoubleSegment<ColorFactor>
value
- is the value
.Copyright © 2001–2014 mmm-Team. All rights reserved.