Package io.sf.carte.doc.style.css
Interface RGBColorValue
- All Superinterfaces:
 Cloneable,CSSColorValue,CSSPrimitiveValue,CSSTypedValue,CSSValue
- All Known Implementing Classes:
 RGBColorValue
Deprecated, for removal: This API element is subject to removal in a future version.
Represents a RGB color value.
 
 Instead of using this interface, cast the result of
 CSSColorValue.getColor() to the appropriate interface (like
 RGBAColor) according to the given
 CSSColorValue.getColorModel().
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSColorValue
CSSColorValue.ColorModelNested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSValue
CSSValue.CssType, CSSValue.Type - 
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated, for removal: This API element is subject to removal in a future version.Creates and returns a copy of this value.getColor()Deprecated, for removal: This API element is subject to removal in a future version.Get the RGB(A) color represented by this value.default RGBAColorDeprecated.Methods inherited from interface io.sf.carte.doc.style.css.CSSColorValue
deltaE2000, getColorModel, toLABColorValue, toLCHColorValue, toRGBColorMethods inherited from interface io.sf.carte.doc.style.css.CSSPrimitiveValue
getUnitType, isNegativeNumber, setExpectIntegerMethods inherited from interface io.sf.carte.doc.style.css.CSSTypedValue
getFloatValue, getStringValue, isCalculatedNumber, isNumberZero, setFloatValue, setStringValue, toRGBColor, toRGBColorValueMethods inherited from interface io.sf.carte.doc.style.css.CSSValue
getCssText, getCssValueType, getMinifiedCssText, getPrimitiveType, matches, setCssText, writeCssText 
- 
Method Details
- 
getRGBColorValue
Deprecated.Get the RGB(A) color represented by this value.- Returns:
 - the RGB color.
 - See Also:
 
 - 
getColor
RGBAColor getColor()Deprecated, for removal: This API element is subject to removal in a future version.Get the RGB(A) color represented by this value.- Specified by:
 getColorin interfaceCSSColorValue- Returns:
 - the RGB color.
 
 - 
clone
RGBColorValue clone()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CSSValueCreates and returns a copy of this value.- Specified by:
 clonein interfaceCSSColorValue- Specified by:
 clonein interfaceCSSValue- Returns:
 - a clone of this value.
 
 
 - 
 
getColor()method became available. This interface is considered unsafe and error-prone, it will be removed in the future.