shadowOffsetX property
Gets or sets the horizontal distance of a shadow from a shape.
![]() ![]() |
Syntax
HRESULT value = object.put_shadowOffsetX( v);HRESULT value = object.get_shadowOffsetX(* p);
Property values
Type: float
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.
Build date: 11/12/2012

