Describes the border around an element.
Methods
Method | Return type | Brief description |
---|---|---|
get | Dash | Gets the Dash of the border. |
get | Line | Gets the Line of the border. |
get | Number | Gets the thickness of the border in points. |
is | Boolean | Gets whether the border is visible or not. |
set | Border | Sets the Dash of the border. |
set | Border | Sets the border to be transparent. |
set | Border | Sets the thickness of the border in points. |
Detailed documentation
getDashStyle()
getLineFill()
getWeight()
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
isVisible()
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
setDashStyle(style)
Sets the Dash
of the border.
Setting a Dash
on a transparent border makes it visible.
Parameters
Name | Type | Description |
---|---|---|
style | Dash |
Return
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
setTransparent()
setWeight(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
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