BorderStyle

A class that represents a complete border style that can be applied to widgets.

To call an enum, you call its parent class, name, and property. For example, `
CardService.BorderStyle.NO_BORDER`.

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/card-service/border-style#setCornerRadius(Integer)` | `https://developers.google.com/apps-script/reference/card-service/border-style#` | Sets the corner radius of the border, for example 8. |
| `https://developers.google.com/apps-script/reference/card-service/border-style#setStrokeColor(String)` | `https://developers.google.com/apps-script/reference/card-service/border-style#` | Sets the color of the border. |
| `https://developers.google.com/apps-script/reference/card-service/border-style#setType(BorderType)` | `https://developers.google.com/apps-script/reference/card-service/border-style#` | Sets the type of the border. |

## Detailed documentation

### `setCornerRadius(radius)`

Sets the corner radius of the border, for example 8.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `radius` | `Integer` | The corner radius to be applied to the border. |

#### Return


`https://developers.google.com/apps-script/reference/card-service/border-style#` --- This object, for chaining.

*** ** * ** ***

### `setStrokeColor(color)`

Sets the color of the border.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `color` | `String` | The color in #RGB format to be applied to the border. |

#### Return


`https://developers.google.com/apps-script/reference/card-service/border-style#` --- This object, for chaining.

*** ** * ** ***

### `setType(type)`

Sets the type of the border.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `type` | `https://developers.google.com/apps-script/reference/card-service/border-type` | The border type. |

#### Return


`https://developers.google.com/apps-script/reference/card-service/border-style#` --- This object, for chaining.