Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the horizontal distance of a shadow from a shape.
This property is read/write.
![]() ![]() |
Syntax
HRESULT put_shadowOffsetX(
[in] number v
);
HRESULT get_shadowOffsetX(
[out, retval] number *p
);
Property values
Type: number
The horizontal offset value.
Standards information
- HTML Canvas 2D Context, Section 7
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.
.png)
.png)