2017-10-23 19:08:10 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-23 19:08:10 +02:00
|
|
|
|
public class Point
|
|
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the x.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The x.
|
|
|
|
|
|
/// </value>
|
2017-10-23 19:08:10 +02:00
|
|
|
|
public int X { get; set; }
|
2017-10-24 21:43:27 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Gets or sets the y.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <value>
|
|
|
|
|
|
/// The y.
|
|
|
|
|
|
/// </value>
|
2017-10-23 19:08:10 +02:00
|
|
|
|
public int Y { get; set; }
|
2023-08-24 21:09:19 -04:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Convert this <see cref="Point"/> to <see cref="System.Drawing.Point"/>.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="point">The point.</param>
|
|
|
|
|
|
public static implicit operator System.Drawing.Point(Point point)
|
|
|
|
|
|
{
|
|
|
|
|
|
return new System.Drawing.Point(point.X, point.Y);
|
|
|
|
|
|
}
|
2017-10-23 19:08:10 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|