From 47055de4f2b94e519def928545a92ac78845672b Mon Sep 17 00:00:00 2001 From: iwkjosec Date: Tue, 26 Mar 2024 14:02:06 +0900 Subject: [PATCH 1/3] om->on, seperate->separate --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cac0f24..3b988ba 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ IEnumerable displays = screenCaptureService.GetDisplays(graphicsCards.F // Create a screen-capture for all screens you want to capture IScreenCapture screenCapture = screenCaptureService.GetScreenCapture(displays.First()); -// Register the regions you want to capture om the screen +// Register the regions you want to capture on the screen // Capture the whole screen ICaptureZone fullscreen = screenCapture.RegisterCaptureZone(0, 0, screenCapture.Display.Width, screenCapture.Display.Height); // Capture a 100x100 region at the top left and scale it down to 50x50 ICaptureZone topLeft = screenCapture.RegisterCaptureZone(0, 0, 100, 100, downscaleLevel: 1); // Capture the screen -// This should be done in a loop on a seperate thread as CaptureScreen blocks if the screen is not updated (still image). +// This should be done in a loop on a separate thread as CaptureScreen blocks if the screen is not updated (still image). screenCapture.CaptureScreen(); // Do something with the captured image - e.g. access all pixels (same could be done with topLeft) From 183f02da94502d3f0be78c5be4963b2a47e211ae Mon Sep 17 00:00:00 2001 From: iwkjosec Date: Tue, 26 Mar 2024 14:05:29 +0900 Subject: [PATCH 2/3] Cature->Capture --- ScreenCapture.NET/Generic/AbstractScreenCapture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScreenCapture.NET/Generic/AbstractScreenCapture.cs b/ScreenCapture.NET/Generic/AbstractScreenCapture.cs index 9ff4753..1bd49ce 100644 --- a/ScreenCapture.NET/Generic/AbstractScreenCapture.cs +++ b/ScreenCapture.NET/Generic/AbstractScreenCapture.cs @@ -13,7 +13,7 @@ public abstract class AbstractScreenCapture : IScreenCapture private bool _isDisposed; /// - /// Gets a list of registered on this ScreenCature. + /// Gets a list of registered on this ScreenCapture. /// protected HashSet> CaptureZones { get; } = new(); @@ -244,4 +244,4 @@ public abstract class AbstractScreenCapture : IScreenCapture protected virtual void Dispose(bool disposing) { } #endregion -} \ No newline at end of file +} From a53623e136ce3796320deb1335aed858339d5bb0 Mon Sep 17 00:00:00 2001 From: iwkjosec Date: Tue, 26 Mar 2024 14:08:16 +0900 Subject: [PATCH 3/3] Attemts->Attempts --- ScreenCapture.NET/Generic/IScreenCapture.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ScreenCapture.NET/Generic/IScreenCapture.cs b/ScreenCapture.NET/Generic/IScreenCapture.cs index cc423bd..1613789 100644 --- a/ScreenCapture.NET/Generic/IScreenCapture.cs +++ b/ScreenCapture.NET/Generic/IScreenCapture.cs @@ -18,7 +18,7 @@ public interface IScreenCapture : IDisposable event EventHandler? Updated; /// - /// Attemts to capture the current frame showed on the . + /// Attempts to capture the current frame showed on the . /// /// true if the current frame was captures successfully; otherwise, false. bool CaptureScreen(); @@ -59,4 +59,4 @@ public interface IScreenCapture : IDisposable /// Restarts the . /// void Restart(); -} \ No newline at end of file +}