Package | Description |
---|---|
org.htmlunit.util |
Miscellaneous utilities.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Modifier and Type | Method and Description |
---|---|
static String |
StringUtils.formatColor(Color color)
Formats the specified color.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.