SubtitleEdit/libse/ImageSplitterItem.cs

31 lines
852 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 int Top { get; set; }
public NikseBitmap NikseBitmap { get; set; }
public string SpecialCharacter { get; set; }
2017-12-22 21:03:10 +01:00
public bool CouldBeSpace { get; set; }
2017-12-22 21:03:10 +01:00
public ImageSplitterItem(int x, int y, NikseBitmap bitmap, bool couldBeSpace = false)
{
X = x;
Y = y;
NikseBitmap = bitmap;
SpecialCharacter = null;
2017-12-22 21:03:10 +01:00
CouldBeSpace = couldBeSpace;
}
public ImageSplitterItem(string specialCharacter)
{
X = 0;
Y = 0;
SpecialCharacter = specialCharacter;
NikseBitmap = null;
}
}
}