刺绣

时间:2021-02-15 21:44:45
【文件属性】:
文件名称:刺绣
文件大小:665KB
文件格式:ZIP
更新时间:2021-02-15 21:44:45
Scala 刺绣 您可以在控制台上添加艺术感。 要使用绣花,请在build.sbt文件中添加以下行: libraryDependencies += "com.github.wi101" %% "embroidery" % "0.1.1" 用法 将您的文本转换为ASCII Art: title.asciiArt返回一个可以在项目中显示或使用的字符串。 或者,您可以使用语法title.toAsciiArt 。 import embroidery . title title.asciiArt( " Hello world " ) 或者: import embroidery . _ " Hello " .toAsciiArt 输出: # # # # # # # # # # # #
【文件预览】:
embroidery-master
----.scalafix.conf(75B)
----.github()
--------workflows()
----LICENSE(11KB)
----src()
--------test()
--------main()
----build.sbt(921B)
----.gitignore(13B)
----project()
--------plugins.sbt(178B)
--------build.properties(17B)
----README.md(6KB)
----.scalafmt.conf(92B)

网友评论