Package de.xima.fc.color
Class HsvTriplet
java.lang.Object
de.xima.fc.color.HsvTriplet
- All Implemented Interfaces:
Serializable
Represents an HSV color triplet.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetHex()intgetHsv()intdoubleintdoubleintdoubleinthashCode()static HsvTripletof(double[] components) static HsvTripletof(double hue, double saturation, double value) static HsvTripletof(long hsv) static HsvTripletof(long hue, long saturation, long value) static HsvTripletscaled(double scaleHue, double scaleSaturation, double scaleValue) toString()
-
Method Details
-
equals
-
getHex
-
getHsv
public int getHsv() -
getHueInt
public int getHueInt() -
getHueNorm
public double getHueNorm() -
getSaturationInt
public int getSaturationInt() -
getSaturationNorm
public double getSaturationNorm() -
getValueInt
public int getValueInt() -
getValueNorm
public double getValueNorm() -
hashCode
public int hashCode() -
scaled
- Parameters:
scaleHue- Scale for the hue value.scaleSaturation- Scale for the saturation value.scaleValue- Scale for the lightness value.- Returns:
- Scales all components by the given factors.
-
toRgbTriplet
-
toString
-
of
-
of
-
of
-
of
-
of
-