描述線條或輪廓的填滿
方法
| 方法 | 傳回類型 | 簡短說明 |
|---|---|---|
get | Line | 取得線條填滿類型。 |
get | Solid | 取得線條的實心填滿,如果填滿類型不是 Line,則取得 null。 |
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。 |
內容詳盡的說明文件
getFillType()
取得線條填滿類型。
回攻員
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
getSolidFill()
取得線條的實心填滿,如果填滿類型不是 LineFillType.SOLID,則取得 null。
回攻員
SolidFill|null
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(color)
setSolidFill(color, alpha)
setSolidFill(red, green, blue)
將實心填滿設為指定的 RGB 值。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
red | Integer | 紅色元件。 |
green | Integer | 綠色分量。 |
blue | Integer | 藍色元件。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(red, green, blue, alpha)
將實心填滿設為指定的 Alpha 和 RGB 值。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
red | Integer | 紅色元件。 |
green | Integer | 綠色分量。 |
blue | Integer | 藍色元件。 |
alpha | Number | Alpha 值 (透明度)。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(hexString)
將純色填滿設為指定的十六進位顏色字串。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
hex | String | 十六進位顏色字串。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(hexString, alpha)
將純色填滿設為指定的 Alpha 和十六進位顏色字串。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
hex | String | 十六進位顏色字串。 |
alpha | Number | Alpha 值 (透明度)。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(color)
將實心填滿設為指定的 ThemeColorType。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
color | Theme | 主題顏色類型。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations
setSolidFill(color, alpha)
將實心填滿設為指定的 Alpha 和 ThemeColorType。
參數
| 名稱 | 類型 | 說明 |
|---|---|---|
color | Theme | 主題顏色類型。 |
alpha | Number | Alpha 值 (透明度)。 |
授權
使用這個方法的指令碼需要下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly -
https://www.googleapis.com/auth/presentations