Class SolidFill

SolidFill

純色填滿。

SolidFill 物件會分離且不可變動,因此不會反映建立後所做的變更。

方法

方法傳回類型簡短說明
getAlpha()Number取得色彩的不透明度,範圍為 [0, 1.0],其中 1.0 表示完全不透明。
getColor()Color取得填滿的顏色。

內容詳盡的說明文件

getAlpha()

取得色彩的不透明度,範圍為 [0, 1.0],其中 1.0 表示完全不透明。

回攻員

Number

授權

使用這個方法的指令碼需要下列一或多個範圍的授權:

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

getColor()

取得填滿的顏色。

回攻員

Color

授權

使用這個方法的指令碼需要下列一或多個範圍的授權:

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations