We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7b5d72 commit b6540f0Copy full SHA for b6540f0
1 file changed
src/ImageSharp.Drawing/Processing/PathGradientBrush.cs
@@ -265,7 +265,7 @@ public PathGradientBrushApplicator(
265
return this.centerPixel;
266
}
267
268
- /*if (this.edges.Count == 3 && !this.hasSpecialCenterColor)
+ if (this.edges.Count == 3 && !this.hasSpecialCenterColor)
269
{
270
if (!FindPointOnTriangle(
271
this.edges[0].Start,
@@ -282,7 +282,7 @@ public PathGradientBrushApplicator(
282
(v * this.edges[2].StartColor);
283
284
return new Color(pointColor).ToPixel<TPixel>();
285
- }*/
+ }
286
287
var direction = Vector2.Normalize(point - this.center);
288
PointF end = point + (PointF)(direction * this.maxDistance);
0 commit comments