Class HslColor
java.lang.Object
com.independentsoft.office.drawing.ColorChoice
com.independentsoft.office.drawing.HslColor
The Class HslColor.
-
Field Summary
Fields inherited from class com.independentsoft.office.drawing.ColorChoice
colorTransforms -
Constructor Summary
ConstructorsConstructorDescriptionHslColor()Instantiates a new hsl color.HslColor(InternalXMLStreamReader reader)Instantiates a new hsl color. -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the hue value.intGets the luminance value.intGets the saturation value.voidsetHueValue(int hueValue)Sets the hue value.voidsetLuminanceValue(int luminanceValue)Sets the luminance value.voidsetSaturationValue(int saturationValue)Sets the saturation value.toString()Methods inherited from class com.independentsoft.office.drawing.ColorChoice
getColorTransforms
-
Constructor Details
-
HslColor
public HslColor()Instantiates a new hsl color. -
HslColor
Instantiates a new hsl color.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
- Specified by:
clonein classColorChoice
-
toString
-
getHueValue
public int getHueValue()Gets the hue value.- Returns:
- the hue value
-
setHueValue
public void setHueValue(int hueValue)Sets the hue value.- Parameters:
hueValue- the new hue value
-
getLuminanceValue
public int getLuminanceValue()Gets the luminance value.- Returns:
- the luminance value
-
setLuminanceValue
public void setLuminanceValue(int luminanceValue)Sets the luminance value.- Parameters:
luminanceValue- the new luminance value
-
getSaturationValue
public int getSaturationValue()Gets the saturation value.- Returns:
- the saturation value
-
setSaturationValue
public void setSaturationValue(int saturationValue)Sets the saturation value.- Parameters:
saturationValue- the new saturation value
-