Contents

shadowOffsetY

A floating-point number that controls the vertical offset of shadows from the elements casting the shadows.

Declaration

attribute unrestricted float shadowOffsetY;

Discussion

Shadows are cast shadowOffsetY pixels down, regardless of the canvas rotation, scale, or transformation. If shadowOffsetY is negative, shadows are cast up.

Shadows are cast if shadowOffsetY is nonzero and the alpha value of shadowColor is nonzero.

See Also

Working with Shadows