mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-07-09 10:17:49 +00:00
24 lines
660 B
C#
24 lines
660 B
C#
namespace ElectronNET.API.Entities
|
|
{
|
|
/// <summary>
|
|
/// Options for NativeImage.resize: optional width/height and quality.
|
|
/// </summary>
|
|
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
|
public class ResizeOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the width
|
|
/// </summary>
|
|
public int? Width { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the height
|
|
/// </summary>
|
|
public int? Height { get; set; }
|
|
|
|
/// <summary>
|
|
/// 'good', 'better', or 'best'. Default is 'best'.
|
|
/// </summary>
|
|
public string Quality { get; set; } = "best";
|
|
}
|
|
} |