說明網頁元素的背景
方法
| 方法 | 傳回類型 | 簡短說明 | 
|---|---|---|
| get | Solid | 取得這個背景的實心填滿,或 null(如果填滿類型不是Fill)。 | 
| get | Fill | 取得這項填寫作業的類型。 | 
| is | Boolean | 背景是否可見。 | 
| set | void | 將實心填滿設為指定的 Color。 | 
| set | void | 將實心填滿設為指定的 Alpha 和 Color。 | 
| set | void | 將實心填滿設為指定的 RGB 值。 | 
| set | void | 將實心填滿設為指定的 Alpha 和 RGB 值。 | 
| set | void | 將純色填滿設為指定的十六進位顏色字串。 | 
| set | void | 將純色填滿設為指定的 Alpha 和十六進位顏色字串。 | 
| set | void | 將實心填滿設為指定的 Theme。 | 
| set | void | 將實心填滿設為指定的 Alpha 和 Theme。 | 
| set | void | 將背景設為透明。 | 
內容詳盡的說明文件
get
取得這個背景的實心填滿,或 null (如果填滿類型不是 Fill)。
回攻員
Solid:實心填滿設定,或 null (如果填滿類型不是實心)。
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
get
is
背景是否可見。
回攻員
Boolean:如果背景可見,則為 true;否則為 false。
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
set
set
將實心填滿設為指定的 RGB 值。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| red | Integer | |
| green | Integer | |
| blue | Integer | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將實心填滿設為指定的 Alpha 和 RGB 值。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| red | Integer | |
| green | Integer | |
| blue | Integer | |
| alpha | Number | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將純色填滿設為指定的十六進位顏色字串。
十六進位字串的格式必須為「#RRGGBB」。舉例來說,粉紅色會以「#FFC0CB」表示。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| hex | String | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將純色填滿設為指定的 Alpha 和十六進位顏色字串。
十六進位字串的格式必須為「#RRGGBB」。舉例來說,粉紅色會以「#FFC0CB」表示。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| hex | String | |
| alpha | Number | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將實心填滿設為指定的 Theme。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| color | Theme | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將實心填滿設為指定的 Alpha 和 Theme。
參數
| 名稱 | 類型 | 說明 | 
|---|---|---|
| color | Theme | |
| alpha | Number | 
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations
set
將背景設為透明。
授權
使用這個方法的指令碼需要一或多個下列範圍的授權:
- 
https://www.googleapis.com/auth/presentations.currentonly
- 
https://www.googleapis.com/auth/presentations