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 ColorAwtRenderingBackend.toAwtColor(Color color) -
Uses of Color in org.htmlunit.util
Methods in org.htmlunit.util that return ColorModifier and TypeMethodDescriptionstatic ColorStringUtils.asColorHexadecimal(String token) Returns a Color parsed from the given RGB in hexadecimal notation.static ColorStringUtils.findColorHSL(String token) Returns a Color parsed from the given hsl notation if found inside the given string.static ColorStringUtils.findColorRGB(String token) Returns a Color parsed from the given rgb notation if found inside the given string.static ColorStringUtils.findColorRGBA(String token) Returns a Color parsed from the given rgb notation.private static ColorStringUtils.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 StringStringUtils.formatColor(Color color) Formats the specified color.