Class ThemeColor
TemaRengi
Sayfanın ColorScheme
girişindeki bir girişi belirten renk.
Ayrıntılı dokümanlar
getColorType()
Bu rengin türünü alın.
Return
ColorType
: Renk türü.
Yetkilendirme
Bu yöntemi kullanan komut dosyalarının aşağıdaki kapsamlardan bir veya daha fazlası için yetkilendirilmesi gerekir:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getThemeColorType()
Bu rengin tema rengi türünü alın.
Return
ThemeColorType
Yetkilendirme
Bu yöntemi kullanan komut dosyalarının aşağıdaki kapsamlardan bir veya daha fazlası için yetkilendirilmesi gerekir:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-03 UTC.
[null,null,["Son güncelleme tarihi: 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"]]