diff --git a/ElectronNET.API/Entities/AddRepresentationOptions.cs b/ElectronNET.API/Entities/AddRepresentationOptions.cs index c5d5bb7..476fcbb 100644 --- a/ElectronNET.API/Entities/AddRepresentationOptions.cs +++ b/ElectronNET.API/Entities/AddRepresentationOptions.cs @@ -1,11 +1,33 @@ namespace ElectronNET.API.Entities { + /// + /// + /// public class AddRepresentationOptions { + /// + /// Gets or sets the width + /// public int? Width { get; set; } + + /// + /// Gets or sets the height + /// public int? Height { get; set; } + + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; + + /// + /// Gets or sets the buffer + /// public byte[] Buffer { get; set; } + + /// + /// Gets or sets the dataURL + /// public string DataUrl { get; set; } } } \ No newline at end of file diff --git a/ElectronNET.API/Entities/BitmapOptions.cs b/ElectronNET.API/Entities/BitmapOptions.cs index de5945d..d3aaebb 100644 --- a/ElectronNET.API/Entities/BitmapOptions.cs +++ b/ElectronNET.API/Entities/BitmapOptions.cs @@ -1,11 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class BitmapOptions { + /// + /// Gets or sets the scale factor + /// public float ScaleFactor { get; set; } = 1.0f; } } diff --git a/ElectronNET.API/Entities/CreateFromBitmapOptions.cs b/ElectronNET.API/Entities/CreateFromBitmapOptions.cs index 6b0424a..6b80c21 100644 --- a/ElectronNET.API/Entities/CreateFromBitmapOptions.cs +++ b/ElectronNET.API/Entities/CreateFromBitmapOptions.cs @@ -1,13 +1,23 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class CreateFromBitmapOptions { + /// + /// Gets or sets the width + /// public int? Width { get; set; } + + /// + /// Gets or sets the height + /// public int? Height { get; set; } + + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; } } diff --git a/ElectronNET.API/Entities/CreateFromBufferOptions.cs b/ElectronNET.API/Entities/CreateFromBufferOptions.cs index d50b636..206f5ac 100644 --- a/ElectronNET.API/Entities/CreateFromBufferOptions.cs +++ b/ElectronNET.API/Entities/CreateFromBufferOptions.cs @@ -1,9 +1,23 @@ namespace ElectronNET.API.Entities { + /// + /// + /// public class CreateFromBufferOptions { + /// + /// Gets or sets the width + /// public int? Width { get; set; } + + /// + /// Gets or sets the height + /// public int? Height { get; set; } + + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; } } \ No newline at end of file diff --git a/ElectronNET.API/Entities/NativeImage.cs b/ElectronNET.API/Entities/NativeImage.cs index d6b4f36..e1066be 100644 --- a/ElectronNET.API/Entities/NativeImage.cs +++ b/ElectronNET.API/Entities/NativeImage.cs @@ -265,7 +265,6 @@ namespace ElectronNET.API.Entities /// /// Deprecated. Whether the image is a template image. /// - /// public bool IsTemplateImage => _isTemplateImage; /// diff --git a/ElectronNET.API/Entities/ResizeOptions.cs b/ElectronNET.API/Entities/ResizeOptions.cs index 1cc376f..1490ccd 100644 --- a/ElectronNET.API/Entities/ResizeOptions.cs +++ b/ElectronNET.API/Entities/ResizeOptions.cs @@ -1,12 +1,18 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class ResizeOptions { + /// + /// Gets or sets the width + /// public int? Width { get; set; } + + /// + /// Gets or sets the height + /// public int? Height { get; set; } /// diff --git a/ElectronNET.API/Entities/ToBitmapOptions.cs b/ElectronNET.API/Entities/ToBitmapOptions.cs index 4be12b3..1a08c3b 100644 --- a/ElectronNET.API/Entities/ToBitmapOptions.cs +++ b/ElectronNET.API/Entities/ToBitmapOptions.cs @@ -1,11 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class ToBitmapOptions { + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; } } diff --git a/ElectronNET.API/Entities/ToDataUrlOptions.cs b/ElectronNET.API/Entities/ToDataUrlOptions.cs index bb597fe..0df4aa9 100644 --- a/ElectronNET.API/Entities/ToDataUrlOptions.cs +++ b/ElectronNET.API/Entities/ToDataUrlOptions.cs @@ -1,11 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class ToDataUrlOptions { + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; } } diff --git a/ElectronNET.API/Entities/ToPNGOptions.cs b/ElectronNET.API/Entities/ToPNGOptions.cs index 40b02b9..f4e36b1 100644 --- a/ElectronNET.API/Entities/ToPNGOptions.cs +++ b/ElectronNET.API/Entities/ToPNGOptions.cs @@ -1,11 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace ElectronNET.API.Entities +namespace ElectronNET.API.Entities { + /// + /// + /// public class ToPNGOptions { + /// + /// Gets or sets the scalefactor + /// public float ScaleFactor { get; set; } = 1.0f; } }