SubtitleEdit/libse/ImageSplitterItem.cs

28 lines
700 B
C#
Raw Normal View History

namespace Nikse.SubtitleEdit.Core
{
public class ImageSplitterItem
{
public int X { get; set; }
public int Y { get; set; }
public int ParentY { get; set; }
public NikseBitmap NikseBitmap { get; set; }
public string SpecialCharacter { get; set; }
public ImageSplitterItem(int x, int y, NikseBitmap bitmap)
{
X = x;
Y = y;
NikseBitmap = bitmap;
SpecialCharacter = null;
}
public ImageSplitterItem(string specialCharacter)
{
X = 0;
Y = 0;
SpecialCharacter = specialCharacter;
NikseBitmap = null;
}
}
}