Class Color
详细文档
asRgbColor()
将此颜色转换为 RgbColor
。
弃踢回攻
RgbColor
抛出
Error
- 如果颜色不是 RgbColor
授权
使用此方法的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
asThemeColor()
将此颜色转换为 ThemeColor
。
弃踢回攻
ThemeColor
抛出
Error
- 如果颜色不是 ThemeColor
授权
使用此方法的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getColorType()
获取此颜色的类型。
弃踢回攻
ColorType
- 颜色类型。
授权
使用此方法的脚本需要获得以下一个或多个范围的授权:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[]
[]
{"lastModified": "\u6700\u540e\u66f4\u65b0\u65f6\u95f4 (UTC)\uff1a2023-12-01\u3002"}
[null,null,["最后更新时间 (UTC):2023-12-01。"]]