ShadowColor Property
Class THtml5Canvas2D
The ShadowColor property sets or returns the color to use for shadows.
Note:
Use the ShadowColor property together with the
ShadowBlur property to create a shadow.
Tip:
Property Values
A color value to use for shadows.
Defaul value: #000000 .
Example:
Draw a red rectangle with a black shadow:
Canvas.ShadowBlur := 20;
Canvas.ShadowColor := clBlack;
Canvas.FillStyle := clRed;
Canvas.FillRect(20,20,100,80);