Class Border

Border

Describes the border around an element.

Methods

Method Return type Brief description
Dash Style Gets the Dash Style of the border.
Line Fill Gets the Line Fill of the border.
Number Gets the thickness of the border in points.
Boolean Gets whether the border is visible or not.
Border Sets the Dash Style of the border.
Border Sets the border to be transparent.
Border Sets the thickness of the border in points.

Detailed documentation

get Dash Style()

Gets the Dash Style of the border.

Return

Dash Style

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

get Line Fill()

Gets the Line Fill of the border.

Return

Line Fill

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

get Weight()

Gets the thickness of the border in points. Returns null if the element does not have a border.

Return

Number

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

is Visible()

Gets whether the border is visible or not.

Return

Boolean

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

set Dash Style(style)

Sets the Dash Style of the border.

Setting a Dash Style on a transparent border makes it visible.

Parameters

Name Type Description
style
Dash Style

Return

Border

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

set Transparent()

Sets the border to be transparent.

Return

Border

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

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

set Weight(points)

Sets the thickness of the border in points.

Setting a weight on a transparent border makes it visible.

Parameters

Name Type Description
points
Number

Return

Border

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations
Design a Mobile Site
View Site in Mobile | Classic
Share by: