Skip to content

Commit 033ba67

Browse files
committed
Update docs
1 parent 1716dad commit 033ba67

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,22 @@ other = RichEngine::Matrix.new(width: 10, height: 5, fill_with: :a)
289289
pairs = grid.zip(other) # => matrix of [left, right]
290290
```
291291

292-
### UI::Textures (useful glyphs)
293-
294-
Convenience characters for shading and blocks: `empty`, `solid`, `light_shade`, `medium_shade`, `dark_shade`, `top_half`, `bottom_half`, `left_half`, `right_half`, `plaid`.
292+
### UI::Textures
293+
294+
Convenience glyphs for shading and blocky fills.
295+
296+
| Glyph | Name |
297+
|-------|--------------|
298+
|| empty |
299+
|| solid |
300+
|| light_shade |
301+
|| medium_shade |
302+
|| dark_shade |
303+
|| top_half |
304+
|| bottom_half |
305+
|| left_half |
306+
|| right_half |
307+
|| plaid |
295308

296309
```ruby
297310
@canvas.draw_rect(x: 10, y: 6, width: 8, height: 2, char: RichEngine::UI::Textures.solid, color: :magenta)

0 commit comments

Comments
 (0)