📷 A modern, cross-platform, 2D Graphics library for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
616 B

// Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Processing;
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);
}
}