mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-15 05:35:01 +00:00
33 lines
805 B
C#
33 lines
805 B
C#
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class Point
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the x.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The x.
|
|
/// </value>
|
|
public int X { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the y.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The y.
|
|
/// </value>
|
|
public int Y { get; set; }
|
|
|
|
/// <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);
|
|
}
|
|
}
|
|
} |