Results 1 to 2 of 2
  1. #1
    base2coder is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default how to obtain straightline pixels

    I have two coordinates like (x1,y1) and (x2,y2). now i want to draw a straight line between them and want to get all the pixels on it. how can i do it?? can anyone help me please...:confused:

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Obtaining straightline pixels
    By base2coder in forum New To Java
    Replies: 2
    Last Post: 09-10-2009, 01:26 AM
  2. How to obtain the name of the JMenuItem?
    By Azuxard in forum AWT / Swing
    Replies: 1
    Last Post: 03-23-2009, 03:33 AM
  3. How to obtain ASCII code of a character
    By karma in forum New To Java
    Replies: 4
    Last Post: 07-20-2008, 02:57 AM
  4. How to obtain a filled and stroked GeneralPath
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-25-2008, 10:37 AM
  5. How to obtain Paragraph Layout
    By Java Tip in forum java.awt
    Replies: 0
    Last Post: 06-25-2008, 10:36 AM

Posting Permissions

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