如何在 Rebol 中创建多行图形横幅(只能创建一行)?
这可行:
view layout [
box white 728x90 effect reduce [ 'gradient 0x1 sky]
font [align: 'center size: 40 color: red] "Your banner text"
]
但是如何添加其他行?
谢谢。
This works:
view layout [
box white 728x90 effect reduce [ 'gradient 0x1 sky]
font [align: 'center size: 40 color: red] "Your banner text"
]
But how do I add other lines ?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在文本中包含一个新行:
如果您不习惯在 Rebol 中“转义”字符,这与在 C 或 Java 或 JavaScript 或......中这样做非常相似。Rebol
核心手册中的此页面包含所有详细信息 - http://www.rebol.com/docs/ core23/rebolcore-16.html#section-2.11
Include a new line in your text:
If you aren't used to "escaping" characters in Rebol, it's pretty similar to doing so in C or Java or JavaScript or .....
This page in the Rebol Core Manual has all the details - http://www.rebol.com/docs/core23/rebolcore-16.html#section-2.11
通过阅读此内容,您应该能够弄清楚如何获得具有不同字体大小和颜色的多行 - http://www.rebol.com/how-to/subpanels.html
You should be able to work out how to get multiple lines with different font sizes and colours by reading this - http://www.rebol.com/how-to/subpanels.html