Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

shadowOffsetY property

Gets or sets the vertical distance of a shadow from a shape.

This property is read/write.

HTML Canvas 2D Context, Section 7Internet Explorer 9



HRESULT put_shadowOffsetY(
  [in]          number v

HRESULT get_shadowOffsetY(
  [out, retval] number *p

Property values

Type: number

The vertical offset value.

Standards information


You can use positive or negative values to control the position of a shadow. If you do not specify the ICanvasRenderingContext2D::shadowOffsetY property, the default value is zero.



Community Additions

© 2015 Microsoft