vdp_text_wrap - Kyuchumimo/Micro-Joy-Home-Video-Computer GitHub Wiki
🧩🖼️ This is a general-purpose video-related function.
vdp_text_wrap(text, x, y, color, w, h, border=None)
Parameters
- text: any string to be printed to the screen.
- x: x coordinate for printing the text.
- y: y coordinate for printing the text.
- color: text color
- w: box width boundaries
- h: box height boundaries
- border: backdrop color
Note: Parameter naming convention may change in the future
Description
This function is similar to vdp_print, but it makes a new line every time the box width boundaries are exceeded.
It is useful for text screens or text dialog boxes.