72 lines
865 B
C#
72 lines
865 B
C#
using System;
|
|
|
|
namespace GoldPrinter
|
|
{
|
|
public struct CellRectangle
|
|
{
|
|
private int _cellLeft;
|
|
|
|
private int _cellTop;
|
|
|
|
private int _cellWidth;
|
|
|
|
private int _cellHeight;
|
|
|
|
public int Left
|
|
{
|
|
get
|
|
{
|
|
return this._cellLeft;
|
|
}
|
|
set
|
|
{
|
|
this._cellLeft = value;
|
|
}
|
|
}
|
|
|
|
public int Top
|
|
{
|
|
get
|
|
{
|
|
return this._cellTop;
|
|
}
|
|
set
|
|
{
|
|
this._cellTop = value;
|
|
}
|
|
}
|
|
|
|
public int Width
|
|
{
|
|
get
|
|
{
|
|
return this._cellWidth;
|
|
}
|
|
set
|
|
{
|
|
this._cellWidth = value;
|
|
}
|
|
}
|
|
|
|
public int Height
|
|
{
|
|
get
|
|
{
|
|
return this._cellHeight;
|
|
}
|
|
set
|
|
{
|
|
this._cellHeight = value;
|
|
}
|
|
}
|
|
|
|
public CellRectangle(int cellLeft, int cellTop, int cellWidth, int cellHeight)
|
|
{
|
|
this._cellLeft = cellLeft;
|
|
this._cellTop = cellTop;
|
|
this._cellWidth = cellWidth;
|
|
this._cellHeight = cellHeight;
|
|
}
|
|
}
|
|
}
|