More fixes

This commit is contained in:
2026-01-17 08:06:22 +00:00
parent f1a368a6c2
commit dc52f7f2bc
18 changed files with 1022 additions and 65 deletions

View File

@@ -407,7 +407,9 @@ public class SkiaBorder : SkiaLayoutView
canvas.DrawPath(shapePath, borderPaint);
}
// Draw children
// Clip to shape and draw children
canvas.Save();
canvas.ClipPath(shapePath);
foreach (var child in Children)
{
if (child.IsVisible)
@@ -415,6 +417,7 @@ public class SkiaBorder : SkiaLayoutView
child.Draw(canvas);
}
}
canvas.Restore();
}
#endregion