- Add RenderQuality enum to the Plugin API

- Add `RenderQuality` property to the `Plugin` class
- Set the render quality of the plugin image
This commit is contained in:
Stone-Red-Code
2021-09-16 19:20:07 +02:00
parent 0f6e8437fd
commit ef27ace78b
6 changed files with 119 additions and 3 deletions
+8 -1
View File
@@ -1,4 +1,6 @@
using DesktopMagicPluginAPI.Inputs;
using DesktopMagicPluginAPI.Drawing;
using DesktopMagicPluginAPI.Inputs;
using System;
using System.Drawing;
@@ -35,6 +37,11 @@ namespace DesktopMagicPluginAPI
/// </summary>
public virtual int UpdateInterval { get; set; } = 1000;
/// <summary>
/// Gets or sets the render quality of the bitmap image.
/// </summary>
public virtual RenderQuality RenderQuality { get; set; } = RenderQuality.High;
/// <summary>
/// Occurs once when the pugin gets activated.
/// </summary>