implement the API Demo-App complete. Implement the Clipboard-, Screen- and WebContents-API. Fix some bugs. Edit the Readme.

This commit is contained in:
Gregor Biswanger
2017-10-23 19:08:10 +02:00
parent 248ddde82b
commit 778dde2b55
51 changed files with 1780 additions and 192 deletions

View File

@@ -0,0 +1,50 @@
using Newtonsoft.Json;
namespace ElectronNET.API.Entities
{
/// <summary>
///
/// </summary>
public class Display
{
/// <summary>
///
/// </summary>
public Rectangle Bounds { get; set; }
/// <summary>
/// Unique identifier associated with the display.
/// </summary>
public string Id { get; set; }
/// <summary>
/// Can be 0, 90, 180, 270, represents screen rotation in clock-wise degrees.
/// </summary>
public int Rotation { get; set; }
/// <summary>
/// Output device's pixel scale factor.
/// </summary>
public int ScaleFactor { get; set; }
/// <summary>
///
/// </summary>
public Size Size { get; set; }
/// <summary>
/// Can be available, unavailable, unknown.
/// </summary>
public string TouchSupport { get; set; }
/// <summary>
///
/// </summary>
public Rectangle WorkArea { get; set; }
/// <summary>
///
/// </summary>
public Size WorkAreaSize { get; set; }
}
}