Files
UVtools/UVtools.GUI/Mutation.cs
T
Tiago Conceição 87d2062495 v5.1
2020-06-16 05:19:32 +01:00

56 lines
1.2 KiB
C#

/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
using System.Drawing;
namespace UVtools.GUI
{
public class Mutation
{
#region Enum
public enum Mutates : byte
{
Resize,
Solidify,
//LayerSmash,
Erode,
Dilate,
Opening,
Closing,
Gradient,
TopHat,
BlackHat,
HitMiss,
PyrDownUp,
SmoothMedian,
SmoothGaussian,
}
#endregion
#region Properties
public Mutates Mutate { get; }
public string Description { get; }
public Image Image { get; }
#endregion
#region Constructor
public Mutation(Mutates mutate, string description, Image image = null)
{
Mutate = mutate;
Description = description;
Image = image;
}
#endregion
}
}