setStroke
Sets the default stroke (outline) properties.
Syntax
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
| width | int |
Stroke thickness in pixels. | Required |
| color | string |
Stroke color. | black |
Sets the default stroke (outline) properties.
| Parameter | Type | Description | Default |
|---|---|---|---|
| width | int |
Stroke thickness in pixels. | Required |
| color | string |
Stroke color. | black |