shadow(...)
shadow(val: number[]): this;
Sets the 3D offset of a shadow to display, as [x, y, z]
, or null
for no shadow.
Default value: null
Parameters
Parameter | Type | Description |
---|---|---|
val | array or null | The offset to set, in the form [x, y, z] , or null for no shadow. |
Returns
this