Skip to content

Commit

Permalink
GITBOOK-72: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru authored and gitbook-bot committed Jan 13, 2024
1 parent 272b8d3 commit 98c95cf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@
* [MonoGame](monogame/README.md)
* [Setup](monogame/setup.md)
* [Loading .gumx (Gum Project)](monogame/loading-.gumx-gum-project.md)
* [Runtime Objects (GueDeriving)](monogame/runtime-objects-guederiving/README.md)
* [TextRuntime](monogame/runtime-objects-guederiving/textruntime.md)
2 changes: 2 additions & 0 deletions docs/monogame/runtime-objects-guederiving/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Runtime Objects (GueDeriving)

15 changes: 15 additions & 0 deletions docs/monogame/runtime-objects-guederiving/textruntime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# TextRuntime

### Introduction

The TextRuntime object is used to draw strings to the screen. It supports a variety of options for rendering text including alignment, fonts, coloring, and line wrapping.

### Example

To create a TextRuntime, instantiate it and add it to the managers as shown in the following code:

```csharp
var textInstance = new TextRuntime();
textInstance.Text = "Hello world";
text.AddToManagers(SystemManagers.Default, null);
```

0 comments on commit 98c95cf

Please sign in to comment.