Optional
init: PartialDeep<ShadowStyle>Resets shadow coordinates to zero. Does not affect color.
Applies current shadow styling properties to the given canvas ctx
.
Saves the given context's shadow properties. See also restoreContext()
.
Resets all shadow attributes on given context to the values saved with saveContext()
.
Stores properties for applying a shadow to a canvas context. Can also be used to save & restore context shadow properties.