class DelegateNativeContext2D implements INativeContext2D {

    public void setShadow(Shadow.ShadowJSO shadow) {
        if (Objects.nonNull(shadow)) {
            context.setShadowColor(shadow.getColor());
            context.setShadowOffsetX(shadow.getOffset().getX());
            context.setShadowOffsetY(shadow.getOffset().getY());
            context.setShadowBlur(shadow.getBlur());
        } else {
            context.setShadowColor("transparent");
            context.setShadowOffsetX(0);
            context.setShadowOffsetY(0);
            context.setShadowBlur(0);
        }
    }

    public  DelegateNativeContext2D(IContext2D context, AbstractCanvasHandler canvasHandler);
      DelegateNativeContext2D(IContext2D context, AbstractCanvasHandler canvasHandler, Converter converter);

}