×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2010
    Posts
    87

    Vertical String using canvas

    Hello,
    how can i draw vertical strings using canvas in J2ME as the default drawing behavious of drawString() method is horizontal.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: Vertical String using canvas

    You need to put some logic, use drawString() to draw character by character, keeping x-axis constant and changeing the y-axis anchore by linespace with every character.

    thanks,
    ~Amitabh

Similar Threads

  1. To display the whole string in the canvas
    By bidyut84 in forum Mobile Java General
    Replies: 2
    Last Post: 2010-02-26, 11:31
  2. How to rotate String in Canvas
    By MarcelB85 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-08-03, 11:47
  3. C++ 學習程序2
    By hanwen813 in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 32
    Last Post: 2009-04-02, 09:10
  4. Major problem with delegation to Canvas
    By bartekn in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2003-10-08, 17:46
  5. D211 new linux driver 1.04 not working !!
    By franz_meyer in forum Multimodecards
    Replies: 1
    Last Post: 2002-12-12, 08:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •