📷 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.
 
 

21 lines
610 B

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Transforms;
namespace SixLabors.ImageSharp.Tests.Processing.Transforms;
[Trait("Category", "Processors")]
public class SkewTest : BaseImageOperationsExtensionTest
{
[Fact]
public void SkewXYCreateSkewProcessorWithAnglesSet()
{
this.operations.Skew(10, 20);
SkewProcessor processor = this.Verify<SkewProcessor>();
Assert.Equal(10, processor.DegreesX);
Assert.Equal(20, processor.DegreesY);
}
}