Author Topic: How to do 90 degree rotated text?  (Read 6867 times)

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
How to do 90 degree rotated text?
« on: January 02, 2014, 08:48:20 AM »
I'm wanting some labels that point downwards instead of to the right. A text label can be rotated 90 degrees but I can't find a way to anchor it. The label anchors seem to be locked to the left/right values of the anchor parent where I'd need it mapped to the top/bottom values.

Is there some workaround? Or should one just use static bitmap textures for rotated labels?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to do 90 degree rotated text?
« Reply #1 on: January 02, 2014, 11:18:00 AM »
While you can anchor and then rotate things, the anchoring will be... odd. As you noticed, horizontal always anchors to horizontal, and vertical to vertical, so if you rotate it to 90 degrees it will behave in a non-intuitive manner. I would advise not anchoring labels that you rotate 90 degrees, or at least anchoring them in a manner that won't stretch them.

Shifty Geezer

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 9
  • Posts: 226
    • View Profile
Re: How to do 90 degree rotated text?
« Reply #2 on: January 02, 2014, 12:12:14 PM »
Okay, I'll use bitmap labels.