public class Saturation extends Factor<Saturation>
Segment
is a factor
that represents the colorfulness of a stimulus relative to
its own brightness. ColorModel.HSB
and ColorModel.HSL
. Hence
transformation from other ColorModel
s like ColorModel.RGB
differs and will return different
results for Saturation
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
Modifier | Constructor and Description |
---|---|
protected |
Saturation()
The constructor for de-serialization in GWT.
|
|
Saturation(double value)
The constructor.
|
|
Saturation(Double value)
The constructor.
|
|
Saturation(String value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Saturation |
newInstance(double value)
Creates a new instance with the given value.
|
String |
toString()
|
getMaximumValue, getValueAsByte, getValueAsFactor, toStringAsByte
decrease, getMinimumValue, increase, invert
getValueAsPercent, toStringAsFactor, toStringAsPercent
getValue
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getValue
private static final long serialVersionUID
protected Saturation()
public Saturation(double value)
value
- is the value
.protected Saturation newInstance(double value)
newInstance
in class AbstractDoubleSegment<Saturation>
value
- is the value
.public String toString()
String
representation of this Datatype
. While the general contract
of Object.toString()
is very weak and mainly used for debugging, the contract here is very
strong. The returned String
has to be suitable for end-users and official output to any kind of
sink. NlsMessage
for this purpose and implement
NlsObject
if you want to support I18N/L10N.Copyright © 2001–2014 mmm-Team. All rights reserved.