如何使用 ScrollableTextLayout 的功能通过 pyglet 显示和滚动多行字符串(包含“\n”)?
但是我不知道如何使用它。这些文档对我来说并没有说明太多。
一些文本:
string = "Some multiline \n text is contained within this string \n which must be rendered \n such that it is able to be scrolled through."
片段/链接表示赞赏。