namespace ElectronNET.API.Entities
{
///
///
///
public class Size
{
///
/// Gets or sets the width.
///
///
/// The width.
///
public int Width { get; set; }
///
/// Gets or sets the height.
///
///
/// The height.
///
public int Height { get; set; }
///
/// Utility implicit conversion
///
public static implicit operator SixLabors.ImageSharp.Size(Size s) =>
new (s.Width, s.Height);
///
/// Utility implicit conversion
///
public static implicit operator Size(SixLabors.ImageSharp.Size s) =>
new (){Height = s.Height, Width = s.Width};
}
}