2
\$\begingroup\$

vertical How can I achieve this kind of rotation or vertical text using Bitmap Font?

I already used Matrix but didn't get the result same as above.

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$

You can draw each letter in a new line using \n

drawMultiLine(Batch batch, java.lang.CharSequence str, float x, float y)

Draws a string, which may contain newlines (\n), at the specified position.

\$\endgroup\$
2
  • \$\begingroup\$ Can you elaborate? How can I rotate each line? Should I use Matrix? Can you provide code samples. \$\endgroup\$ Dec 5, 2014 at 9:36
  • 1
    \$\begingroup\$ @xitnesscomplex there is no rotation. This answer suggests to draw each letter in a new line without rotation \$\endgroup\$
    – donfuxx
    Dec 5, 2014 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .