mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 11:42:36 +01:00
31 lines
876 B
C#
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;
|
|
}
|
|
}
|
|
}
|