internal SKPaint?SetFilter(SvgVisualElement svgVisualElement, CompositeDisposable disposable) { if (svgVisualElement.Filter != null) { var skPaint = new SKPaint(); skPaint.Style = SKPaintStyle.StrokeAndFill; SkiaUtil.SetFilter(svgVisualElement, skPaint, disposable); _skCanvas.SaveLayer(skPaint); disposable.Add(skPaint); return(skPaint); } return(null); }