Igtampe.BasicRender
1.0.0
See the version list below for details.
dotnet add package Igtampe.BasicRender --version 1.0.0
NuGet\Install-Package Igtampe.BasicRender -Version 1.0.0
<PackageReference Include="Igtampe.BasicRender" Version="1.0.0" />
paket add Igtampe.BasicRender --version 1.0.0
#r "nuget: Igtampe.BasicRender, 1.0.0"
// Install Igtampe.BasicRender as a Cake Addin #addin nuget:?package=Igtampe.BasicRender&version=1.0.0 // Install Igtampe.BasicRender as a Cake Tool #tool nuget:?package=Igtampe.BasicRender&version=1.0.0
BasicRender
BasicRender is a graphics library that makes it easy to display graphics on a console screen. Four libraries are included, and can all be downloaded over at the release page.
This project also includes a small demo program. After a neat little BasicWindow, it tells the very very tiny 8 line story of a man who insulted an AI for the last time. It includes exactly one landscape I drew in henja that came out horrible great.
BasicRender
The titular library that includes two static classes with a few useful functions:
Draw
Draw includes tools for drawing on screen. Take note! When asking for positions, these methods use LeftPos and TopPos, or the leftmost coordinate, and topmost coordinate of the object.
Method | Result |
---|---|
Sprite() | Renders a character or bit of text with the specified color, and either at the current position, or a specified position |
Block() | Renders a block on screen of the specified color either at the current position, or a specified position |
Box() | Renders a box on screen of specified color, lenght, and width, at specified posotion |
Row() | Renders a row of the speicifed color of specified length, either at current or specified position |
ClearLine() | Clears a line with the console background color |
CenterText() | Centers text on the screen at current or speciifed row, with current or specified color |
RenderUtils
Utilities that help in rendering stuff on screen. Though, they're also useful in general.
Method | Result |
---|---|
Sleep() | Holds execution of a program for the specified miliseconds |
Pause() | Holds execution of a program until the user hits a key |
Echo() | A shortcut to Console.Write() or Console.WriteLine() depending on if you specify to linebreak |
SetPos() | Sets the position of the console cursor on screen |
Color() | Sets the color of the cursor writer. <br><br><b>Take note!</b><br> The one parameter version of this modifies the foreground (Text) Color, but the second one has Background first! <br>This is to match the Windows command line's Color command |
Type() | "Types" text on screen one character at a time. Time between each character is either specified, or 5ms |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Igtampe.BasicRender:
Package | Downloads |
---|---|
Igtampe.BasicGraphics
BasicGraphics is the first extension to BasicRender, making it easy to render graphics onto the console. Choose from either basic 16 color mode, or in BasicGraphic's own proprietary HiColor Mode, which uses the power of dithering to offer around 375 colors. For a full documentation, please see the GitHub Repo for BasicRender, or the included comments. |
|
Igtampe.BasicFonts
BasicFonts is the latest extension to BasicRender. Levereging the power of DictionaryOnDisk, BasicGraphics, and BasicRender, large pre-made neatly packaged symbols can be drawn to the screen. For a full documentation, please see the GitHub Repo for BasicRender, or the included comments. |
|
Igtampe.BasicLogger
BasicLogger is a *very very simple* logger which can output log files, and most importantly can log to the console using BasicRender. |
|
Igtampe.BasicWindows
BasicWindows is an enhancement to Igtampe.BasicRender, which makes it easy to create, render, and manage user interactions via "windows" on the console. For a full documentation, please see the GitHub Repo for BasicRender, or the included comments. |
|
Igtampe.BasicShapes
BasicShapes is a small geometry package for BasicRender, allowing you to quickly and easily draw lines, curves, and polygons made out of those lines and curves easily. It also allows you to translate and scale these polygons as needed. |
GitHub repositories
This package is not used by any popular GitHub repositories.