| Package | Description |
|---|---|
| com.sk89q.worldedit.util.formatting |
| Modifier and Type | Method and Description |
|---|---|
static Style |
Style.getByChar(char code)
Gets the color represented by the specified color code
|
static Style |
Style.getByChar(String code)
Gets the color represented by the specified color code
|
Style |
StyleSet.getColor()
Get the color of the text.
|
static Style |
Style.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style[] |
Style.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
StyledFragment |
StyledFragment.createFragment(Style... styles) |
void |
StyleSet.setColor(Style color)
Set the color of the text.
|
| Constructor and Description |
|---|
StyledFragment(Style... styles) |
StyleSet(Style... styles)
Create a new style set with the given styles.
|
Copyright © 2010-2014. All Rights Reserved.