Results 1 to 2 of 2

Thread: DrawPoint method?

  1. #1

    Thread Starter
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332

    DrawPoint method?

    Is there anthing that will allow me to write to the screen? I was looking in the Graphics class for a method like "drawPoint" or "drawDot" or "drawPixel". I couldn't find any... is there any? I just want to be able to draw a dot at a specified location of a specified colour. Plz help.
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Use the drawLine method and use the same coordinates for x1,y1 and x2,y2.

Posting Permissions

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



Click Here to Expand Forum to Full Width