using System; namespace ElectronNET.API.Entities { /// /// /// [Obsolete("Use ImageOptions instead.")] public class ToPNGOptions { /// /// Gets or sets the scalefactor /// public float ScaleFactor { get; set; } = 1.0f; /// /// Utility conversion for obsolete class /// public static implicit operator ImageOptions(ToPNGOptions o) => new () {ScaleFactor = o.ScaleFactor}; } }