Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Class ThemeColor
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
ThemeColor
Sayfanın ColorScheme bölümündeki bir girişi ifade eden renk.
Ayrıntılı belgeler
getColorType()
Bu rengin türünü alın.
Return
ColorType: Renk türü.
Yetkilendirme
Bu yöntemi kullanan komut dosyaları, aşağıdaki kapsamlardan biri veya daha fazlasıyla yetkilendirme gerektirir:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
getThemeColorType()
Bu rengin tema rengi türünü alır.
Return
ThemeColorType
Yetkilendirme
Bu yöntemi kullanan komut dosyaları, aşağıdaki kapsamlardan biri veya daha fazlasıyla yetkilendirme gerektirir:
-
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: 2026-04-13 UTC.
[null,null,["Son güncelleme tarihi: 2026-04-13 UTC."],[],["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"]]