Add full NativeImage support for Electron.NET

This commit is contained in:
ThrDev
2020-05-06 19:05:21 -04:00
parent e295558258
commit 9b270755d0
14 changed files with 432 additions and 115 deletions

View File

@@ -4,7 +4,7 @@ namespace ElectronNET.API.Entities
{
public int? Width { get; set; }
public int? Height { get; set; }
public int ScaleFactor { get; set; }
public float ScaleFactor { get; set; } = 1.0f;
public byte[] Buffer { get; set; }
public string DataUrl { get; set; }
}