Class ThemeColor
    
    
      
    
    
      
      Tetap teratur dengan koleksi
    
    
      
      Simpan dan kategorikan konten berdasarkan preferensi Anda.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
WarnaTema
Warna yang merujuk ke entri di ColorScheme halaman.
 
Dokumentasi mendetail
getColorType()
Mendapatkan jenis warna ini.
Pulang pergi
ColorType — Jenis warna.
Otorisasi
Skrip yang menggunakan metode ini memerlukan otorisasi dengan satu atau beberapa cakupan berikut:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
 
 
getThemeColorType()
Mendapatkan jenis warna tema dari warna ini.
Pulang pergi
ThemeColorType
Otorisasi
Skrip yang menggunakan metode ini memerlukan otorisasi dengan satu atau beberapa cakupan berikut:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
 
 
 
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
  Terakhir diperbarui pada 2025-07-26 UTC.
  
  
  
    
      [null,null,["Terakhir diperbarui pada 2025-07-26 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"]]