Discussion Board

Results 1 to 3 of 3

Thread: midlet canvas

  1. #1
    Registered User
    Join Date
    Oct 2010

    midlet canvas

    how can i increase draw line width in j2me while drawing line in midlet canvas?

  2. #2
    Super Contributor
    Join Date
    May 2008
    Helsinki, Finland

    Re: midlet canvas


    Lines you draw are 1 pixel thick. You need to draw adjacent lines.

    Here is a good article about these things:


    Best Regards,
    [FONT="Comic Sans MS"][COLOR="Blue"][/COLOR][I]Marko Lumivuori
    Technical Support
    +358 40 8019330

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    The Capital of INDIA

    Re: midlet canvas

    There is no API available to draw the wider lines as per the need, rather you need to draw the parallel lines to the first one.
    This is how you can draw the bold line on the Y axis...please check the same.
    PHP Code:
    g.drawLine(202420height 20);
    g.drawLine(202520height 19);
    g.drawLine(202620height 18); 
    Height is stand for the canvas height.
    Thanks with Regards,

    R a j - The K e r n e l

    Join Delhi-NCR Nokia Developer's Community,

Similar Threads

  1. from canvas to midlet
    By clydening in forum Mobile Java General
    Replies: 4
    Last Post: 2010-04-16, 05:40
  2. List and keys/ midlet canvas problem
    By nuker85 in forum Mobile Java General
    Replies: 0
    Last Post: 2007-07-18, 13:18
  3. how to add canvas in form in midlet
    By mathi77in in forum Mobile Java General
    Replies: 1
    Last Post: 2005-07-13, 07:50
  4. Strange MIDlet slowdown when use GameCanvas instead Canvas
    By alexey_kr in forum Mobile Java General
    Replies: 1
    Last Post: 2005-05-06, 15:26
  5. Canvas versus MIDlet
    By docaoimh in forum Mobile Java General
    Replies: 0
    Last Post: 2004-07-14, 14:20

Posting Permissions

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