Modifier and Type | Method | Description |
---|---|---|
static TextColor |
fromString(String value) |
Parses a string into a color.
|
public static TextColor fromString(String value)
TextColor.ANSI
enumvalue
- The string value to parseTextColor
that is either an TextColor.ANSI
, an TextColor.Indexed
or an TextColor.RGB
depending on
the format of the string, or null
if value
is null
.Copyright © 2020. All rights reserved.