2015-08-26 22:42:40 +02:00
|
|
|
|
namespace Nikse.SubtitleEdit.Core
|
|
|
|
|
{
|
|
|
|
|
public class ImageSplitterItem
|
|
|
|
|
{
|
|
|
|
|
public int X { get; set; }
|
|
|
|
|
public int Y { get; set; }
|
|
|
|
|
public int ParentY { get; set; }
|
2016-05-06 15:38:22 +02:00
|
|
|
|
public int Top { get; set; }
|
2015-08-26 22:42:40 +02:00
|
|
|
|
public NikseBitmap NikseBitmap { get; set; }
|
|
|
|
|
public string SpecialCharacter { get; set; }
|
2017-12-22 21:03:10 +01:00
|
|
|
|
public bool CouldBeSpace { get; set; }
|
2015-08-26 22:42:40 +02:00
|
|
|
|
|
2017-12-22 21:03:10 +01:00
|
|
|
|
public ImageSplitterItem(int x, int y, NikseBitmap bitmap, bool couldBeSpace = false)
|
2015-08-26 22:42:40 +02:00
|
|
|
|
{
|
|
|
|
|
X = x;
|
|
|
|
|
Y = y;
|
|
|
|
|
NikseBitmap = bitmap;
|
|
|
|
|
SpecialCharacter = null;
|
2017-12-22 21:03:10 +01:00
|
|
|
|
CouldBeSpace = couldBeSpace;
|
2015-08-26 22:42:40 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ImageSplitterItem(string specialCharacter)
|
|
|
|
|
{
|
|
|
|
|
X = 0;
|
|
|
|
|
Y = 0;
|
|
|
|
|
SpecialCharacter = specialCharacter;
|
|
|
|
|
NikseBitmap = null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|