mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-11-04 02:25:28 +08:00
Remove Render from docs in favor of Write (#613)
The `Render` method has been obsoleted.
This commit is contained in:
@@ -26,7 +26,7 @@ var image = new CanvasImage("cake.png");
|
||||
image.MaxWidth(16);
|
||||
|
||||
// Render the image to the console
|
||||
AnsiConsole.Render(image);
|
||||
AnsiConsole.Write(image);
|
||||
```
|
||||
|
||||
## Result
|
||||
@@ -50,7 +50,7 @@ image.BilinearResampler();
|
||||
image.Mutate(ctx => ctx.Grayscale().Rotate(-45).EntropyCrop());
|
||||
|
||||
// Render the image to the console
|
||||
AnsiConsole.Render(image);
|
||||
AnsiConsole.Write(image);
|
||||
```
|
||||
|
||||
## Result
|
||||
|
||||
Reference in New Issue
Block a user