Class ThemeColor
詳細なドキュメント
getColorType()
この色のタイプを取得します。
戻る
ColorType
- 色のタイプ。
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getThemeColorType()
この色のテーマカラーのタイプを取得します。
戻る
ThemeColorType
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-03 UTC。
[null,null,["最終更新日 2024-12-03 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."]]],["ThemeColor represents a color linked to a page's ColorScheme. It offers two methods: `getColorType()` and `getThemeColorType()`. `getColorType()` retrieves the color's type, returning a ColorType. `getThemeColorType()` fetches the specific theme color type, returning a ThemeColorType. Both methods necessitate authorization via specific scopes like `presentations.currentonly` or `presentations` to operate within scripts.\n"]]