More fixes

This commit is contained in:
2026-01-17 15:06:39 +00:00
parent 9451611c3a
commit 10a66cd399
6 changed files with 195 additions and 70 deletions

View File

@@ -341,6 +341,14 @@ public class SkiaBorder : SkiaLayoutView
return path;
}
/// <summary>
/// Override to skip rectangular background - OnDraw handles it with the correct shape.
/// </summary>
protected override void DrawBackground(SKCanvas canvas, SKRect bounds)
{
// Don't draw rectangular background - OnDraw draws background with shape path
}
protected override void OnDraw(SKCanvas canvas, SKRect bounds)
{
float strokeThickness = (float)StrokeThickness;