Skip to content

shadowColor(...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

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]

ParameterTypeDescription
valarrayThe color to set, in the form [r, g, b, a].

this