AI-generated Key Takeaways
-
ThemeColor
represents a color from a Google Slide's color scheme, allowing you to access and utilize predefined colors. -
It provides two methods:
getColorType()
to determine the color's general type andgetThemeColorType()
to identify its specific role within the theme. -
Both methods require authorization with specific scopes related to Google Slides access.
A color that refers to an entry in the page's Color
.
Methods
Method | Return type | Brief description |
---|---|---|
get | Color | Get the type of this color. |
get | Theme | Get the theme color type of this color. |
Detailed documentation
getColorType()
getThemeColorType()
Get the theme color type of this color.
Return
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations