|
|
|
@ -48,7 +48,6 @@ namespace ImageSharp.Processors |
|
|
|
TColor glowColor = this.GlowColor; |
|
|
|
Vector2 centre = Rectangle.Center(sourceRectangle).ToVector2(); |
|
|
|
float maxDistance = this.Radius > 0 ? Math.Min(this.Radius, sourceRectangle.Width * .5F) : sourceRectangle.Width * .5F; |
|
|
|
Ellipse ellipse = new Ellipse(new Point(centre), maxDistance, maxDistance); |
|
|
|
|
|
|
|
// Align start/end positions.
|
|
|
|
int minX = Math.Max(0, startX); |
|
|
|
|