shadowColor property

String get shadowColor

The CanvasRenderingContext2D.shadowColor property of the Canvas 2D API specifies the color of shadows.

Be aware that the shadow's rendered opacity will be affected by the opacity of the CanvasRenderingContext2D.fillStyle color when filling, and of the CanvasRenderingContext2D.strokeStyle color when stroking.

Note: Shadows are only drawn if the shadowColor property is set to a non-transparent value. One of the CanvasRenderingContext2D.shadowBlur, CanvasRenderingContext2D.shadowOffsetX, or CanvasRenderingContext2D.shadowOffsetY properties must be non-zero, as well.

Implementation

external String get shadowColor;
set shadowColor (String value)

Implementation

external set shadowColor(String value);