Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

shadowOffsetX property

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

This property is read/write.

HTML Canvas 2D Context, Section 7Internet Explorer 9

Syntax

HRESULT put_shadowOffsetX(
  [in]           number v
);

HRESULT get_shadowOffsetX(
  [out, retval]  number *p
);

Property values

Type: number

The horizontal offset value.

Standards information

Remarks

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.