SubtitleEdit/libse/ImageSplitterItem.cs
2020-05-17 23:06:01 +02:00

31 lines
876 B
C#

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; }
public bool CouldBeSpaceBefore { get; set; }
public ImageSplitterItem(int x, int y, NikseBitmap bitmap, bool couldBeSpaceBefore = false)
{
X = x;
Y = y;
NikseBitmap = bitmap;
SpecialCharacter = null;
CouldBeSpaceBefore = couldBeSpaceBefore;
}
public ImageSplitterItem(string specialCharacter)
{
X = 0;
Y = 0;
SpecialCharacter = specialCharacter;
NikseBitmap = null;
}
}
}