textAlign() JUSTIFIED 处理 api
我正在处理工作,我想要一个 textAlign 对齐模式。我找到了此链接:http://code.google.com/p /processing/issues/detail?id=186 但无法让它工作。不知道如何导入。
我有一个很长的字符串,我想根据 X1、X2 变量来证明它的合理性,例如 x1 = 100(字符串开始),x2 = 200(字符串停止,获取 \n 或其他内容)并在下一行中继续 x1再次。
谢谢
im working in processing and i would like to have a textAlign justified mode. I have found this link: http://code.google.com/p/processing/issues/detail?id=186 but can't get it to work. Have no clue how to import.
I have a very long string and i would like to justify it depending on X1, X2 variable, for example x1 = 100 (string begins), x2 = 200 (string stops, gets \n or something) and continues in next line with x1 again.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
非常抱歉重播晚了。我在一点帮助下解决了这个问题。谢谢抗塑料!请参阅 PGraphicsJava2DJustify.java
操作方法:
Very sorry for late replay. I got this issue solved with a little bit of help. Thanks antiplastik! See PGraphicsJava2DJustify.java
HowTo: