mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 19:12:31 +02:00
56 lines
1.2 KiB
C#
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
|
|
}
|
|
}
|