// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using SixLabors.ImageSharp.PixelFormats; using SixLabors.ImageSharp.Processing; using SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison; using SixLabors.Primitives; using Xunit; namespace SixLabors.ImageSharp.Tests.Processing.Processors.Overlays { [GroupOutput("Overlays")] public class GlowTest : OverlayTestBase { protected override void Apply(IImageProcessingContext ctx, Color color) => ctx.Glow(color); protected override void Apply(IImageProcessingContext ctx, float radiusX, float radiusY) => ctx.Glow(radiusX); protected override void Apply(IImageProcessingContext ctx, Rectangle rect) => ctx.Glow(rect); } }