Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Feb 2004

    Which method faster in MIDP-2.0 for solid rectangle?

    Hello, I heared the drawing of sprites are good optimized in MIDP-2.0! Does it be better to use bitmap drawings instead old fillRect?

    We can use:
    - fillRect()

    OR can use:

    - drawImage()
    - drawRGB()
    - Sprite.paint()

    Which one will be fastest?
    I'm interesting it in practice, not in theory...

    p.s. How much time use g.setColor()?
    Last edited by Krendel; 2005-02-04 at 05:44.

Posting Permissions

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