Skip to content

Commit ef9ba79

Browse files
committed
Add comment.
1 parent b6540f0 commit ef9ba79

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ImageSharp.Drawing/Processing/PathGradientBrush.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ public PathGradientBrushApplicator(
302302

303303
var color = Vector4.Lerp(edgeColor, this.centerColor, ratio);
304304

305+
// Using this conversion because pixel.FromVector4(pointColor)
306+
// doesn't correctly convert some types (see ImageSharp issue 1412).
305307
return new Color(color).ToPixel<TPixel>();
306308
}
307309
}

0 commit comments

Comments
 (0)