Class ThemeColor
ThemeColor
A color that refers to an entry in the page's ColorScheme
.
Detailed documentation
getColorType()
Get the type of this color.
Return
ColorType
— The color type.
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
getThemeColorType()
Get the theme color type of this color.
Return
ThemeColorType
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`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 and `getThemeColorType()` to identify its specific role within the theme."],["Both methods require authorization with specific scopes related to Google Slides access."]]],[]]