diff --git a/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs b/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs index 83b89b666b8c..186dec21cc7f 100644 --- a/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs +++ b/src/Uno.UI.Composition/Composition/CompositionSpriteShape.skia.cs @@ -101,9 +101,9 @@ internal override void Paint(in Visual.PaintingSession session) // Get the stroke geometry, after scaling has been applied. geometryWithTransformations.GetFillPath(strokePaint, strokeFillPath); - stroke.UpdatePaint(strokePaint, strokeFillPath.Bounds); + stroke.UpdatePaint(fillPaint, strokeFillPath.Bounds); - session.Canvas.DrawPath(strokeFillPath, strokePaint); + session.Canvas.DrawPath(strokeFillPath, fillPaint); } } }