|
||
Colors are used when setting shape properties and when working with color schemes.
The PPColor class extends the java Color class. As a consequence it can directly represent a given color. The PPColor class, however, adds the capability to represent a color in a color scheme.
When using PPColor to represent a color scheme color, you use one of the PPColor
constant colors defined in the PPColor class of the API
documentation. When using one of these colors, such as PPColor.FILLS,
you are specifying "the color used for fills" rather than a specific color.
All methods and properties that return a color return an instance of a PPColor.
To determine the color scheme color that this PPColor represents use the method:
int getSchemeIndex()
If the PPColor just represents a normal color, and not a color scheme color, this method will return the constant ColorScheme.NONE.
|
||
| Page generated: 2008-01-18 02:53:28 GMT | TonicPoint Builder Developer's Guide -- Version 2.3 |