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

28 lines
927 B

// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ResizeMode.cs" company="James South">
// Copyright (c) James South.
// Licensed under the Apache License, Version 2.0.
// </copyright>
// <summary>
// Enumerated resize modes to apply to resized images.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace ImageProcessor.Imaging
{
/// <summary>
/// Enumerated resize modes to apply to resized images.
/// </summary>
public enum ResizeMode
{
/// <summary>
/// Pads the resized image to fit the bounds of its container.
/// </summary>
Pad,
/// <summary>
/// Stretches the resized image to fit the bounds of its container.
/// </summary>
Stretch
}
}