Class Color
詳細なドキュメント
asRgbColor()
この色を RgbColor
に変換します。
リターン
RgbColor
例外
Error
- 色が RgbColor
でない場合。
承認
この方法を使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
asThemeColor()
この色を ThemeColor
に変換します。
リターン
ThemeColor
例外
Error
- 色が ThemeColor
でない場合。
承認
この方法を使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getColorType()
この色のタイプを取得します。
リターン
ColorType
- 色タイプ。
承認
この方法を使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2023-12-01 UTC。
[]
[]
{"lastModified": "\u6700\u7d42\u66f4\u65b0\u65e5 2023-12-01 UTC\u3002"}
[null,null,["最終更新日 2023-12-01 UTC。"]]