Uses of Class
org.htmlunit.html.impl.Color
Packages that use Color
Package
Description
Implementations of the canvas rendering backend - users of HtmlUnit shouldn't
need anything in this package.
Miscellaneous utilities.
-
Uses of Color in org.htmlunit.platform.canvas.rendering
Methods in org.htmlunit.platform.canvas.rendering with parameters of type ColorModifier and TypeMethodDescriptionprivate static Color
AwtRenderingBackend.toAwtColor
(Color color) -
Uses of Color in org.htmlunit.util
Methods in org.htmlunit.util that return ColorModifier and TypeMethodDescriptionstatic Color
StringUtils.asColorHexadecimal
(String token) Returns a Color parsed from the given RGB in hexadecimal notation.static Color
StringUtils.findColorHSL
(String token) Returns a Color parsed from the given hsl notation if found inside the given string.static Color
StringUtils.findColorRGB
(String token) Returns a Color parsed from the given rgb notation if found inside the given string.static Color
StringUtils.findColorRGBA
(String token) Returns a Color parsed from the given rgb notation.private static Color
StringUtils.hslToRgb
(float h, float s, float l) Converts an HSL color value to RGB.Methods in org.htmlunit.util with parameters of type ColorModifier and TypeMethodDescriptionstatic String
StringUtils.formatColor
(Color color) Formats the specified color.