Package io.sf.carte.doc.style.css
Interface HSLColor
- All Superinterfaces:
CSSColor
Represents a hsl color.
-
Method Summary
Methods inherited from interface io.sf.carte.doc.style.css.CSSColor
getAlpha, getColorModel, getColorSpace, getLength, item, toMinifiedString
-
Method Details
-
getHue
CSSPrimitiveValue getHue()Get the hue of this color.- Returns:
- the hue component.
-
getSaturation
CSSPrimitiveValue getSaturation()Get the saturation of this color.- Returns:
- the saturation component.
-
getLightness
CSSPrimitiveValue getLightness()Get the lightness of this color.- Returns:
- the lightness component.
-
clone
HSLColor clone()Description copied from interface:CSSColor
Clone this color.
-