Class Border

枠線

要素の周囲の枠線を記述します。

メソッド

メソッド戻り値の型概要
getDashStyle()DashStyle|null枠線の DashStyle を取得します。
getLineFill()LineFill枠線の LineFill を取得します。
getWeight()Number|null枠線の太さをポイント単位で取得します。
isVisible()Boolean枠線が表示されるかどうかを取得します。
setDashStyle(style)Border枠線の DashStyle を設定します。
setTransparent()Border枠線を透明に設定します。
setWeight(points)Border枠線の太さをポイント単位で設定します。

詳細なドキュメント

getDashStyle()

枠線の DashStyle を取得します。

戻る

DashStyle|null

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

getLineFill()

枠線の LineFill を取得します。

戻る

LineFill

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

getWeight()

枠線の太さをポイント単位で取得します。要素に枠線がない場合は null を返します。

戻る

Number|null

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

isVisible()

枠線が表示されるかどうかを取得します。

戻る

Boolean

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

setDashStyle(style)

枠線の DashStyle を設定します。

透明な枠線に DashStyle を設定すると、その枠線は表示されるようになります。

パラメータ

名前説明
styleDashStyle

戻る

Border

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

setTransparent()

枠線を透明に設定します。

戻る

Border

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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

setWeight(points)

枠線の太さをポイント単位で設定します。

透明な枠線にウェイトを設定すると、その枠線は表示されるようになります。

パラメータ

名前説明
pointsNumber

戻る

Border

承認

このメソッドを使用するスクリプトには、次の 1 つ以上のスコープによる承認が必要です。

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