ThemeColor
Overview
ThemeColor is an enum in Aspose.Words FOSS for Java.
Specifies the theme colors for document themes.
Edition status of its 22 listed members (a property and its accessor methods are listed separately, overloads once): 22 not yet exercised by a verified example.
This enum declares 4 methods for ThemeColor objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
NONE | No color. |
DARK_1 | Dark main color 1. |
LIGHT_1 | Light main color 1. |
DARK_2 | Dark main color 2. |
LIGHT_2 | Light main color 2. |
ACCENT_1 | Accent color 1. |
ACCENT_2 | Accent color 2. |
ACCENT_3 | Accent color 3. |
ACCENT_4 | Accent color 4. |
ACCENT_5 | Accent color 5. |
ACCENT_6 | Accent color 6. |
HYPERLINK | Hyperlink color. |
FOLLOWED_HYPERLINK | Followed hyperlink color. |
TEXT_1 | Text color 1. |
TEXT_2 | Text color 2. |
BACKGROUND_1 | Background color 1. |
BACKGROUND_2 | Background color 2. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ThemeColor values. |
Methods
| Signature | Description |
|---|---|
getName(themeColor: int) → String | Returns JAVA_STYLE string representation of integer ThemeColor value. |
toString(themeColor: int) → String | Returns DotNetStyle string representation of integer ThemeColor value. |
fromName(themeColorName: String) → int | Returns integer representation by ThemeColor name. |
getValues() → int[] | Returns array of ThemeColor values. |