shadowOffsetX property

double get shadowOffsetX

The CanvasRenderingContext2D.shadowOffsetX property of the Canvas 2D API specifies the distance that shadows will be offset horizontally.

Note: Shadows are only drawn if the CanvasRenderingContext2D.shadowColor property is set to a non-transparent value. One of the CanvasRenderingContext2D.shadowBlur, shadowOffsetX, or CanvasRenderingContext2D.shadowOffsetY properties must be non-zero, as well.

Implementation

external double get shadowOffsetX;
set shadowOffsetX (num value)

Implementation

external set shadowOffsetX(num value);