public class Chroma extends Factor<Chroma>
Segment
represents the chroma of a Color
. The chroma is a factor
indicating the colorfulness relative to the brightness of a similarly illuminated white.GenericColor.getChroma()
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
Modifier | Constructor and Description |
---|---|
protected |
Chroma()
The constructor for de-serialization in GWT.
|
|
Chroma(double value)
The constructor.
|
|
Chroma(Double value)
The constructor.
|
|
Chroma(int byteValue)
The constructor.
|
|
Chroma(String value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Chroma |
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 Chroma()
public Chroma(double value)
value
- is the value
.public Chroma(int byteValue)
byteValue
- is the value given as byte
.protected Chroma newInstance(double value)
newInstance
in class AbstractDoubleSegment<Chroma>
value
- is the value
.Copyright © 2001–2014 mmm-Team. All rights reserved.