internal void SetClipPath(SvgVisualElement svgVisualElement, CompositeDisposable disposable) { var skPathClip = SkiaUtil.GetSvgVisualElementClipPath(svgVisualElement, disposable); if (skPathClip != null && !skPathClip.IsEmpty) { bool antialias = SkiaUtil.IsAntialias(svgVisualElement); _skCanvas.ClipPath(skPathClip, SKClipOperation.Intersect, antialias); } }