48 lines
905 B
C#
48 lines
905 B
C#
namespace Cef3
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cef3.Interop;
|
|
|
|
public struct CefRectangle
|
|
{
|
|
private int _x;
|
|
private int _y;
|
|
private int _width;
|
|
private int _height;
|
|
|
|
public CefRectangle(int x, int y, int width, int height)
|
|
{
|
|
_x = x;
|
|
_y = y;
|
|
_width = width;
|
|
_height = height;
|
|
}
|
|
|
|
public int X
|
|
{
|
|
get { return _x; }
|
|
set { _x = value; }
|
|
}
|
|
|
|
public int Y
|
|
{
|
|
get { return _y; }
|
|
set { _y = value; }
|
|
}
|
|
|
|
public int Width
|
|
{
|
|
get { return _width; }
|
|
set { _width = value; }
|
|
}
|
|
|
|
public int Height
|
|
{
|
|
get { return _height; }
|
|
set { _height = value; }
|
|
}
|
|
}
|
|
}
|