• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Canvas and rotational drawing

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a box displayed in my canvas object. The box is a solid square that is 20px off from the edge of the canvas on all sides. I have a label that runs along the top of the box, middle of the canvas - 1/2 the width of the text to center the label and basically the y-coordinate is set to 18. I'd like text to run vertically up the side of the box as well starting at y-coordinate (1/2 of the height - 1/2 of the width of the text) with x being something like 18 as well. I can't seem to figure out how to do this, vertically display text along the side of the box, going up along the side. Any help would be appreciated.
reply
    Bookmark Topic Watch Topic
  • New Topic