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) 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 +} 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 +}