Skip to content

Commit ae6cf5c

Browse files
authored
Merge pull request #32 from iwkjosec/fix-typo
Fix typo
2 parents f588143 + a53623e commit ae6cf5c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ IEnumerable<Display> displays = screenCaptureService.GetDisplays(graphicsCards.F
2626
// Create a screen-capture for all screens you want to capture
2727
IScreenCapture screenCapture = screenCaptureService.GetScreenCapture(displays.First());
2828

29-
// Register the regions you want to capture om the screen
29+
// Register the regions you want to capture on the screen
3030
// Capture the whole screen
3131
ICaptureZone fullscreen = screenCapture.RegisterCaptureZone(0, 0, screenCapture.Display.Width, screenCapture.Display.Height);
3232
// Capture a 100x100 region at the top left and scale it down to 50x50
3333
ICaptureZone topLeft = screenCapture.RegisterCaptureZone(0, 0, 100, 100, downscaleLevel: 1);
3434

3535
// Capture the screen
36-
// This should be done in a loop on a seperate thread as CaptureScreen blocks if the screen is not updated (still image).
36+
// This should be done in a loop on a separate thread as CaptureScreen blocks if the screen is not updated (still image).
3737
screenCapture.CaptureScreen();
3838

3939
// Do something with the captured image - e.g. access all pixels (same could be done with topLeft)

ScreenCapture.NET/Generic/AbstractScreenCapture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public abstract class AbstractScreenCapture<TColor> : IScreenCapture
1313
private bool _isDisposed;
1414

1515
/// <summary>
16-
/// Gets a list of <see cref="CaptureZone{TColol}"/> registered on this ScreenCature.
16+
/// Gets a list of <see cref="CaptureZone{TColol}"/> registered on this ScreenCapture.
1717
/// </summary>
1818
protected HashSet<CaptureZone<TColor>> CaptureZones { get; } = new();
1919

@@ -244,4 +244,4 @@ public void Dispose()
244244
protected virtual void Dispose(bool disposing) { }
245245

246246
#endregion
247-
}
247+
}

ScreenCapture.NET/Generic/IScreenCapture.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public interface IScreenCapture : IDisposable
1818
event EventHandler<ScreenCaptureUpdatedEventArgs>? Updated;
1919

2020
/// <summary>
21-
/// Attemts to capture the current frame showed on the <see cref="Display"/>.
21+
/// Attempts to capture the current frame showed on the <see cref="Display"/>.
2222
/// </summary>
2323
/// <returns><c>true</c> if the current frame was captures successfully; otherwise, <c>false</c>.</returns>
2424
bool CaptureScreen();
@@ -59,4 +59,4 @@ public interface IScreenCapture : IDisposable
5959
/// Restarts the <see cref="IScreenCapture"/>.
6060
/// </summary>
6161
void Restart();
62-
}
62+
}

0 commit comments

Comments
 (0)