mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 21:38:16 +08:00
Update Canvas tests
This commit is contained in:

committed by
Patrik Svensson

parent
8901450283
commit
11e192e750
@ -66,9 +66,11 @@ namespace Spectre.Console
|
||||
/// <param name="x">The X coordinate for the pixel.</param>
|
||||
/// <param name="y">The Y coordinate for the pixel.</param>
|
||||
/// <param name="color">The pixel color.</param>
|
||||
public void SetPixel(int x, int y, Color color)
|
||||
/// <returns>The same <see cref="Canvas"/> instance so that multiple calls can be chained.</returns>
|
||||
public Canvas SetPixel(int x, int y, Color color)
|
||||
{
|
||||
_pixels[x, y] = color;
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
Reference in New Issue
Block a user