CSS shadowBlur?

If I compile my project using -Dcanvas key, can I apply css shadowBlur property on a sprite? like here:
https://www.w3schools.com/tags/canvas_shadowblur.asp

How would I do so??

Thanks

I think that would be possible using a custom render event

This seems sort of hacky but maybe something like this:

var before = new Sprite();
before.addEventListener(RenderEvent.RENDER_CANVAS, function(renderer)
{
    var ctx = renderer.context;
    ctx.shadowBlur = 20;
    ctx.shadowColor = "black";
});
addChild(before);
addChild(objectThatShouldHaveBlur);
var after = new Sprite();
after.addEventListener(RenderEvent.RENDER_CANVAS, function(renderer)
{
    var ctx = renderer.context;
    ctx.shadowBlur = 0;
});

Thanks, so what are all properties supported for renderer.context ?

canvasRenderer.context is the CanvasRenderingContext2D of the final stage canvas being exposed directly