×

Discussion Board

Results 1 to 2 of 2

Thread: Gradient Colors

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    6

    Gradient Colors

    How to make Gradient Colors in J2ME?

  2. #2
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Gradient Colors

    hand made only
    like for black to blue :
    for (int i = 0; i < 0x100; i++{
    g.setColor(i);
    g.drawLine(x1, y1, x2, y2);
    }

Similar Threads

  1. Gradient Fill Banding Problems
    By benc_1 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2005-09-14, 13:53
  2. problem with colors
    By ooooooo in forum Mobile Java General
    Replies: 0
    Last Post: 2004-07-07, 12:39
  3. Wallpaper - 4096 colors
    By blondebeard in forum Digital Rights Management & Content Downloading
    Replies: 0
    Last Post: 2004-01-29, 05:30
  4. Wallpaper - 4096 colors
    By blondebeard in forum General Development Questions
    Replies: 0
    Last Post: 2004-01-29, 05:14
  5. Reducing the number of used colors
    By ondra.s in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-11-16, 09:04

Posting Permissions

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