shadowColor(...)
shadowColor(val: number[]): this;
Sets the color of the text shadow, in the following form:
[r, g, b, a]
Default value: [0, 0, 0, 1]
Parameters
Parameter | Type | Description |
---|---|---|
val | array | The color to set, in the form [r, g, b, a] . |
Returns
this